From 99635b3de26ae3fff5364ce7b1af9e1ca4a98b78 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Tue, 4 May 2021 10:57:36 -0600 Subject: [PATCH] test_l3_longevity.py : bug fix for reading mac on interface Signed-off-by: Chuck SmileyRekiere --- py-scripts/test_l3_longevity.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/py-scripts/test_l3_longevity.py b/py-scripts/test_l3_longevity.py index 3567027c..29a8c902 100755 --- a/py-scripts/test_l3_longevity.py +++ b/py-scripts/test_l3_longevity.py @@ -813,8 +813,12 @@ Station Address PHY Mbps Data Mbps Air Use Data Use Retries bw mc print("query-port: %s: incomplete response:"%(url)) pprint(response) else: + #print("response".format(response)) + #pprint(response) p = response['interface'] - mac = response['mac'] + print("#### p, response['insterface']:{}".format(p)) + # mac = response['mac'] + mac = p['mac'] ap_row = [] for row in ap_stats_rows: