Commit 0227b123 authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal) ignore incomplete mac entries

parent 2fa901e8
......@@ -65,7 +65,7 @@ class ARP(object):
physical_intf = line.split('on')[-1].strip().split(' ')[0]
if address in self._arp_table:
self._arp_table[address]['intf'].append(physical_intf)
else:
elif mac.find('incomplete') == -1:
self._arp_table[address] = {'mac': mac, 'intf': [physical_intf], 'expires': expires}
def list_items(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment