5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2024-12-22 21:33:47 +03:00

followup trailing whitespace fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-01-11 16:12:33 +01:00
parent 2d1e9a02c3
commit 6f830d1d24

View File

@ -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);