[controller] stringify router

This commit is contained in:
Nico Schottelius 2019-03-06 14:00:35 +01:00
parent 6497db857c
commit 25405a6ae1

View file

@ -194,7 +194,7 @@ class L2Controller(object):
dev = "{}-eth0".format(host)
net = v6route['net']
ipaddr = "{}/{}".format(net[1],net.prefixlen)
router = net[self.info['switch_suffix']]
router = str(net[self.info['switch_suffix']])
self.config_v6_host(host, str(net), str(ipaddr), dev, router)