Skip to content

Commit

Permalink
[intfutil] Fix error when <interface name> specified in show interfac…
Browse files Browse the repository at this point in the history
…e related commands (#548)
  • Loading branch information
gord1306 authored and jleveque committed Jun 5, 2019
1 parent b7fcb1f commit 5667a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/intfutil
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def appl_db_keys_get(appl_db, front_panel_ports_list, intf_name):
if intf_name is None:
appl_db_keys = appl_db.keys(appl_db.APPL_DB, "PORT_TABLE:*")
elif intf_name in front_panel_ports_list:
appl_db_keys = db.keys(appl_db.APPL_DB, "PORT_TABLE:%s" % intf_name)
appl_db_keys = appl_db.keys(appl_db.APPL_DB, "PORT_TABLE:%s" % intf_name)
else:
return None
return appl_db_keys
Expand Down

0 comments on commit 5667a90

Please sign in to comment.