Correct suffix to hex
This commit is contained in:
parent
e51ed3ffcd
commit
29ff9e2333
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class L2Controller(object):
|
||||||
self.info['v4_base'] = ipaddress.ip_network("10.0.0.0/8")
|
self.info['v4_base'] = ipaddress.ip_network("10.0.0.0/8")
|
||||||
self.info['v4_gen'] = self.info['v4_base'].subnets(new_prefix=self.info['v4_mask'])
|
self.info['v4_gen'] = self.info['v4_base'].subnets(new_prefix=self.info['v4_mask'])
|
||||||
|
|
||||||
self.info['switch_suffix'] = 42
|
self.info['switch_suffix'] = 0x42
|
||||||
|
|
||||||
self.v6_routes = {}
|
self.v6_routes = {}
|
||||||
self.v6_routes[None] = []
|
self.v6_routes[None] = []
|
||||||
|
|
Loading…
Reference in a new issue