Skip to content

Commit

Permalink
missing interface workaround #11
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaae committed Mar 11, 2020
1 parent fc74a2c commit d9dd533
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/mikrotik_router/mikrotik_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ def update_arp(self, mac2ip, bridge_used):
if entry['invalid']:
continue

if 'interface' not in entry:
continue

# Do not add ARP detected on bridge
if entry['interface'] == "bridge":
bridge_used = True
Expand Down

0 comments on commit d9dd533

Please sign in to comment.