Fixed Setting NetMask this time.

This commit is contained in:
Adrian Woodley
2019-07-23 02:21:26 +08:00
parent 5534c6cdf5
commit 60cd427357

View File

@@ -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),
]