From 2a08aeedf9c324913371e66260dc5a5811f68ae3 Mon Sep 17 00:00:00 2001 From: "rick.mollard" <rick.mollard@nebraska.edu> Date: Fri, 1 Jul 2022 10:41:09 -0500 Subject: [PATCH] updates --- findfails.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/findfails.py b/findfails.py index c5da452..300ff9d 100644 --- a/findfails.py +++ b/findfails.py @@ -65,8 +65,8 @@ for selectIP in file: if policyrole in to: print(to) port = to.split(" ")[0] - output2 = net_connect.send_command(f"port-access reauthenticate interface {port}") - print(f"{port} Reauthentication initiated.") + output2 = net_connect.send_command(f"port-access reauthenticate interface {to3}") + print(f"{to3} Reauthentication initiated.") #output1 = [f"interface {to3}","shut","no power"] #net_connect.send_config_set(output1) -- GitLab