• L
    network: fix (non)update of dnsmasq config during virDomainUpdateDeviceFlags · e3802e13
    Laine Stump 提交于
    A forgotten "!" in recently-modified code at the top of
    networkRefreshDaemon() meant an improper early return, which led to 1)
    dnsmasq config files not being updated from the newly modified config,
    and 2) dnsmasq not being sent a SIGHUP so that it could learn about
    the changes to the config.
    
    virNetworkDefGetIpByIndex() returns NULL if there are no ip objects of
    the requested type, and if there are no IP elements, then dnsmasq
    shouldn't be running, so we can return early. Otherwise we should
    rewrite the config files and send a SIGHUP.
    e3802e13
bridge_driver.c 156.1 KB