Commit 83c760b0 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

ra: Set O=1 in periodic RA too

..so that rs responses (RA) and periodic ra are identical. Otherwise
some OSes seem to lose already obtained DNS configuration after
receiving an RA with O flag unset.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 07c8990f
......@@ -956,7 +956,7 @@ class VMNetProxy(object): # pylint: disable=R0902
if ifll is None:
continue
resp = Ether(src=indevmac)/\
IPv6(src=str(ifll))/ICMPv6ND_RA(routerlifetime=14400)/\
IPv6(src=str(ifll))/ICMPv6ND_RA(O=1, routerlifetime=14400)/\
ICMPv6NDOptPrefixInfo(prefix=str(subnet.prefix),
prefixlen=subnet.prefixlen)
if self.ipv6_nameservers:
......
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