Skip to content

Commit 5667a90

Browse files
gord1306jleveque
authored andcommitted
[intfutil] Fix error when <interface name> specified in show interface related commands (#548)
1 parent b7fcb1f commit 5667a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/intfutil

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def appl_db_keys_get(appl_db, front_panel_ports_list, intf_name):
8787
if intf_name is None:
8888
appl_db_keys = appl_db.keys(appl_db.APPL_DB, "PORT_TABLE:*")
8989
elif intf_name in front_panel_ports_list:
90-
appl_db_keys = db.keys(appl_db.APPL_DB, "PORT_TABLE:%s" % intf_name)
90+
appl_db_keys = appl_db.keys(appl_db.APPL_DB, "PORT_TABLE:%s" % intf_name)
9191
else:
9292
return None
9393
return appl_db_keys

0 commit comments

Comments
 (0)