Skip to content

Commit

Permalink
not overwriting mac address state for ipv6 neighbor
Browse files Browse the repository at this point in the history
Signed-off-by: Amy Liebowitz <[email protected]>
  • Loading branch information
amylieb committed Jan 17, 2025
1 parent 7ed0b3b commit e9f0ddb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion suzieq/poller/worker/services/arpnd.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def _clean_junos_data(self, processed_data, _):
entry['remote'] = True
if entry['oif']:
entry['oif'] = re.sub(r' \[.*\]', '', entry['oif'])
entry['state'] = 'reachable'
if not entry.get('state', None:
entry['state'] = 'reachable'
if not entry.get('macaddr', None):
entry['macaddr'] = '00:00:00:00:00:00'

Expand Down

0 comments on commit e9f0ddb

Please sign in to comment.