• D
    Fix formatting of network address in iptables helpers · eff1735e
    Daniel P. Berrange 提交于
    The network address was being set to 192.168.122.0 instead
    of 192.168.122.0/24. Fix this by removing the unneccessary
    'network' field from virNetworkDef and just pass the
    network address and netmask into the iptables APIs directly.
    
    * src/conf/network_conf.h, src/conf/network_conf.c: Remove
      the 'network' field from virNEtworkDef.
    * src/network/bridge_driver.c: Update for iptables API changes
    * src/util/iptables.c, src/util/iptables.h: Require the
      network address + netmask pair to be passed in
    eff1735e
network_conf.h 5.7 KB