mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
reload iptables rules on libvirtd restart
This is the expected behaviour, I think - reloading libvirtd should be a subset of restarting it. Note, we reload the rules after we've determined which networks are active (because we only add the rules for active networks) and before we start autostart networks (to avoid re-adding the rules). * src/network/bridge_driver.c: reload iptables rules on startup
This commit is contained in:
parent
98895e9386
commit
534664c372
@ -259,6 +259,7 @@ networkStartup(int privileged) {
|
||||
goto error;
|
||||
|
||||
networkFindActiveConfigs(driverState);
|
||||
networkReloadIptablesRules(driverState);
|
||||
networkAutostartConfigs(driverState);
|
||||
|
||||
networkDriverUnlock(driverState);
|
||||
|
Loading…
Reference in New Issue
Block a user