Skip to content

Commit

Permalink
Continue processing next fdb entry if bridge port index not in list (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
prsunny authored Oct 25, 2017
1 parent 4804711 commit 67f9f96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/fdbshow
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class FdbShow(object):

ent = self.db.get_all('ASIC_DB', s, blocking=True)
br_port_id = ent[b"SAI_FDB_ENTRY_ATTR_BRIDGE_PORT_ID"][oid_pfx:]
if br_port_id not in self.if_br_oid_map:
continue
port_id = self.if_br_oid_map[br_port_id]
if_name = self.if_oid_map[port_id]

Expand Down

0 comments on commit 67f9f96

Please sign in to comment.