Skip to content

Commit

Permalink
TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
pkulev committed Dec 24, 2023
1 parent 79b8280 commit f1e82a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyroute2/ndb/objects/neighbour.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def load_ndmsg(schema, target, event):
# ignore events with ifindex == 0
#
if event['ifindex'] == 0:
schema.log.info("GOT IFINDEX 0")
return
#
if event.get_attr('NDA_IFINDEX') is None:
Expand All @@ -22,15 +23,18 @@ def load_ndmsg(schema, target, event):
# AF_BRIDGE events
#
if event['family'] == AF_BRIDGE:
schema.log.info(f"HIT AF_BRIDGE: {event}")
#
# bypass for now
#
try:
schema.load_netlink('af_bridge_fdb', target, event, propagate=True)
except Exception:
schema.log.info("RESCHEDULING")
raise RescheduleException()

else:
schema.log.info(str(event))
schema.load_netlink('neighbours', target, event)


Expand Down

0 comments on commit f1e82a7

Please sign in to comment.