From 60cd427357e1ddfbe93c33909c3e630bdcc0fd25 Mon Sep 17 00:00:00 2001 From: Adrian Woodley Date: Tue, 23 Jul 2019 02:21:26 +0800 Subject: [PATCH] Fixed Setting NetMask this time. --- aviat_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aviat_config.py b/aviat_config.py index 8d20f08..fc700f7 100755 --- a/aviat_config.py +++ b/aviat_config.py @@ -114,7 +114,7 @@ class Worker(threading.Thread): commands = [ INUeCommand("Slot%s_I" % rstp_dac, "ceConfigNmsVid", 0, VLAN), INUeCommand("Terminal_I", "ipConfigAdEntAddress", rstp_dac + 1, new_ip), - INUeCommand("Terminal_I", "ipConfigAdEntNet_Mask", rstp_dac + 1, NET_MASK), + INUeCommand("Terminal_I", "ipConfigAdEntNetMask", rstp_dac + 1, NET_MASK), INUeCommand("Terminal_I", "ipConfigAutoroutingOspfEnable", rstp_dac + 1, 2), INUeCommand("Terminal_I", "ipCidrRouteIfIndex", rstp_dac + 48, GATEWAY, True), ]