mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-03 00:46:00 +00:00
do not ignore errors on tap_unplug
This commit is contained in:
parent
011c581720
commit
8cd00f4b24
@ -839,7 +839,7 @@ my $vmconfig_update_net = sub {
|
||||
}
|
||||
|
||||
if(($newnet->{bridge} ne $oldnet->{bridge}) || ($newnet->{tag} ne $oldnet->{tag}) || ($newnet->{firewall} ne $oldnet->{firewall})){
|
||||
eval{PVE::Network::tap_unplug($iface, $oldnet->{bridge}, $oldnet->{tag}, $oldnet->{firewall});};
|
||||
PVE::Network::tap_unplug($iface);
|
||||
PVE::Network::tap_plug($iface, $newnet->{bridge}, $newnet->{tag}, $newnet->{firewall});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user