• D
    network: split setup of ipv4 and ipv6 top level chains · 686803a1
    Daniel P. Berrangé 提交于
    During startup libvirtd creates top level chains for both ipv4
    and ipv6 protocols. If this fails for any reason then startup
    of virtual networks is blocked.
    
    The default virtual network, however, only requires use of ipv4
    and some servers have ipv6 disabled so it is expected that ipv6
    chain creation will fail. There could equally be servers with
    no ipv4, only ipv6.
    
    This patch thus makes error reporting a little more fine grained
    so that it works more sensibly when either ipv4 or ipv6 is
    disabled on the server. Only the protocols that are actually
    used by the virtual network have errors reported.
    Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    686803a1
viriptables.c 36.1 KB