]> xenbits.xensource.com Git - libvirt.git/commit
network: only check for IPv6 RA routes when the network has an IPv6 address
authorLaine Stump <laine@laine.org>
Fri, 24 Mar 2017 00:18:25 +0000 (20:18 -0400)
committerLaine Stump <laine@laine.org>
Fri, 24 Mar 2017 13:33:55 +0000 (09:33 -0400)
commita1f46c71a4307f1b8be93793e469e6467455d56d
treedbc11559c9f6e8ceb78df98ddf78c0672b0291e4
parentda17090b8ce4f9a2df9529227cbe502cfab21c8f
network: only check for IPv6 RA routes when the network has an IPv6 address

commit 00d28a78 added a check to see if there were any IPv6 routes
added by RA (Router Advertisement) via an interface that had accept_ra
set to something other than "2". The check was being done
unconditionally, but it's only relevant if IPv6 forwarding is going to
be turned on, and that will only happen if the network has an IPv6
address.
src/network/bridge_driver.c