This commit is contained in:
Nico Schottelius 2019-03-04 15:38:42 +01:00
parent c60b5f2d9e
commit da7fda57bf
1 changed files with 1 additions and 1 deletions

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)