str(router)

This commit is contained in:
Nico Schottelius 2019-03-31 15:52:11 +02:00
parent db1e19f841
commit aff342898e
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ class L2Controller(object):
dev = "{}-eth0".format(host)
net = v4route['net']
ipaddr = "{}/{}".format(net[1],net.prefixlen)
router = self.ipv4_router(net)
router = str(self.ipv4_router(net))
self.config_v4_host(host, str(net), str(ipaddr), dev, router)