[pve-devel] [PATCH lxc 1/4] LXC::get_primary_ips: ipv6 can be 'auto'
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Oct 29 11:03:59 CET 2015
---
src/PVE/LXC.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 4b9ace5..5c49ec3 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -1318,7 +1318,7 @@ sub get_primary_ips {
}
my $ipv6 = $net->{ip6};
if ($ipv6) {
- if ($ipv6 =~ /^(dhcp|manual)$/) {
+ if ($ipv6 =~ /^(auto|dhcp|manual)$/) {
$ipv6 = undef;
} else {
$ipv6 =~ s!/\d+$!!;
--
2.1.4
More information about the pve-devel
mailing list