X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=PVE%2FAPI2%2FQemu.pm;h=ca8cdd516b05c40f8242bc7f503f4ad5fd7829a4;hb=8cd00f4b243ea33ea91d029189ff63f9d404c040;hp=e7d49d9b503357bf9b4d7623e25f2163206284b8;hpb=011c581720d1c0cdca14154a59e7ba04b321721a;p=qemu-server.git diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index e7d49d9..ca8cdd5 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -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}); }