]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: always set disable_ipv6, even when it should be 0
authorLaine Stump <laine@laine.org>
Fri, 1 Aug 2014 21:51:37 +0000 (17:51 -0400)
committerLaine Stump <laine@laine.org>
Sun, 3 Aug 2014 01:51:24 +0000 (21:51 -0400)
commitc0788af07d08f0e2297736764766d78ff72ae034
treef1b764ebb446e6e25b73cff20202bbaec20d4e82
parentbe3cbecd0ef0c5b2d711d1451261cd8ad4e0228e
network: always set disable_ipv6, even when it should be 0

libvirt previously only touched an interface's disable_ipv6 setting in
sysfs if it needed to be set to 1, assuming that 0 is the
default. Apparently that isn't always the case though (kernel 3.15.7-1
in Arch Linux reportedly defaults a new interface's disable_ipv6
setting to 1) so this patch explicitly sets it to 0 or 1 as
appropriate.
src/network/bridge_driver.c