Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
foreach my $p (split (/\s+/, $d->{bridge_ports})) {
$p =~ s/\.\d+$//;
my $n = $ifaces->{$p};
- die "bridge '$iface' - unable to find bridge port '$p'\n"
- if !$n;
+ 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') ||
- ($n->{method6} eq 'static' && $n->{address} ne "\:\:");
+ ($n->{method6} eq 'static' && $n->{address} ne '::');
&$check_mtu($ifaces, $iface, $p);
$bridgeports->{$p} = $iface;