X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2FPVE%2FService%2Fpve_firewall.pm;fp=src%2FPVE%2FService%2Fpve_firewall.pm;h=3c9fd66ab61d06c97803ed8b2b0f0668f1b1d6bf;hp=e4dcc5165d5c30ee8e1065609aba84c6098c34d7;hb=cb161529c65c0c41056d3eeb4370e80990df8b99;hpb=ae2dc2fac142ad55419410bc1abb578aa91a5ec6 diff --git a/src/PVE/Service/pve_firewall.pm b/src/PVE/Service/pve_firewall.pm index e4dcc51..3c9fd66 100755 --- a/src/PVE/Service/pve_firewall.pm +++ b/src/PVE/Service/pve_firewall.pm @@ -274,9 +274,7 @@ __PACKAGE__->register_method ({ PVE::Corosync::for_all_corosync_addresses($corosync_conf, undef, sub { my ($curr_node_name, $curr_node_ip, undef, $key) = @_; - if (!$corosync_node_found) { - $corosync_node_found = 1; - } + $corosync_node_found = 1; $key =~ m/(?:ring|link)(\d+)_addr/; print " - $curr_node_name: $curr_node_ip (link: $1)\n";