This commit is contained in:
Nico Schottelius 2019-03-04 15:38:42 +01:00
parent c60b5f2d9e
commit da7fda57bf

View file

@ -171,7 +171,7 @@ class L2Controller(object):
host = "h{}".format(v6route['port'])
dev = "{}-eth0".format(host)
net = v6route['net']
ipaddr = "{}/{}".format(net[1],net.prefix_len)
ipaddr = "{}/{}".format(net[1],net.prefixlen)
self.add_host_ips(host, str(net), str(ipaddr), dev)