From: Thomas Lamprecht Date: Sat, 11 Jan 2020 15:12:33 +0000 (+0100) Subject: followup trailing whitespace fixes X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=6f830d1d24d6f65fbdae777dfc9a519bcff2bad9 followup trailing whitespace fixes Signed-off-by: Thomas Lamprecht --- diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm index d1731fc..a0712f7 100644 --- a/src/PVE/INotify.pm +++ b/src/PVE/INotify.pm @@ -1454,7 +1454,7 @@ sub __write_etc_network_interfaces { my $bond_primary_is_slave = undef; foreach my $p (split (/\s+/, $d->{slaves})) { my $n = $ifaces->{$p}; - + die "bond '$iface' - unable to find slave '$p'\n" if !$n; die "bond '$iface' - wrong interface type on slave '$p' " . @@ -1537,8 +1537,8 @@ sub __write_etc_network_interfaces { my $n = $ifaces->{$p}; die "bridge '$iface' - unable to find bridge port '$p'\n" if !$n; - die "iface $p - ip address can't be set on interface if bridged in $iface\n" - if ($n->{method} eq 'static' && $n->{address} ne '0.0.0.0') || + die "iface $p - ip address can't be set on interface if bridged in $iface\n" + if ($n->{method} eq 'static' && $n->{address} ne '0.0.0.0') || ($n->{method6} eq 'static' && $n->{address} ne "\:\:"); &$check_mtu($ifaces, $iface, $p);