From eeafe02d81bb06108ca4dc51cd2fb515ce41010c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 2 Nov 2020 08:33:51 +0100 Subject: [PATCH] fix 3108: properly check IPv6 addr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- src/PVE/INotify.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm index cf6ef57..bd2b15a 100644 --- a/src/PVE/INotify.pm +++ b/src/PVE/INotify.pm @@ -1619,7 +1619,7 @@ sub __write_etc_network_interfaces { 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} && $n->{method} eq 'static' && $n->{address} ne '0.0.0.0') || - ($n->{method6} && $n->{method6} eq 'static' && $n->{address} ne '::'); + ($n->{method6} && $n->{method6} eq 'static' && $n->{address6} ne '::'); &$check_mtu($ifaces_copy, $p, $iface); $bridgeports->{$p} = $iface; }