Development
This commit is contained in:
parent
2a8f3bc7cc
commit
aca936fcea
1 changed files with 1 additions and 1 deletions
|
|
@ -578,7 +578,7 @@ def refresh_arp_cache(cfg):
|
|||
continue
|
||||
used_match = re.search(r'used\s+(\d+)/', line)
|
||||
used_secs = int(used_match.group(1)) if used_match else 0
|
||||
if used_secs > ARP_MAX_AGE_SECS:
|
||||
if state != 'REACHABLE' and used_secs > ARP_MAX_AGE_SECS:
|
||||
continue
|
||||
idx = parts.index('lladdr')
|
||||
mac = parts[idx + 1].lower()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue