From 5667a90e28693b5d3a908f16e36c5322826279c0 Mon Sep 17 00:00:00 2001 From: Gord Chen Date: Thu, 6 Jun 2019 05:39:31 +0800 Subject: [PATCH] [intfutil] Fix error when specified in show interface related commands (#548) --- scripts/intfutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/intfutil b/scripts/intfutil index 81e990df439a..f8509db93f34 100755 --- a/scripts/intfutil +++ b/scripts/intfutil @@ -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