From 6f830d1d24d6f65fbdae777dfc9a519bcff2bad9 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 11 Jan 2020 16:12:33 +0100 Subject: [PATCH] followup trailing whitespace fixes Signed-off-by: Thomas Lamprecht --- src/PVE/INotify.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);