Commit b0b3ad51 authored by Apollon Oikonomopoulos's avatar Apollon Oikonomopoulos
Browse files

Do not send periodic RAs on IPv6-less interfaces

Ignore interfaces with no IPv6 subnets on the respective routing tables and log
a debug message.
Signed-off-by: default avatarApollon Oikonomopoulos <>
parent 4c042e71
......@@ -695,6 +695,11 @@ class VMNetProxy(object): # pylint: disable=R0902
subnet = self.v6nets[iface]
if is None:
logging.debug("Skipping periodic RA on interface %s,"
" as it is not IPv6-connected", iface)
ifll = subnet.make_ll64(ifmac)
resp = Ether(src=ifmac)/\
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