Commit 07c8990f authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

dhcp6: return if no IPv6 network attached to tap

Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent c27d829e
......@@ -740,6 +740,10 @@ class VMNetProxy(object): # pylint: disable=R0902
subnet = binding.net6
if subnet.net is None:
logging.debug(" - No IPv6 network assigned for tap %s", binding.tap)
return
indevmac = self.get_iface_hw_addr(binding.indev)
ifll = subnet.make_ll64(indevmac)
if ifll is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment