diff --git a/findfails.py b/findfails.py index c5da4525cc9a66e1de787269dab974d84f9d7b52..300ff9d4b9d17c81006b8721a0cd5f37ecf0aa82 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)