Warn on unsupported IPv6 networks

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-01-17 14:48:54 +00:00
parent 6731a9f869
commit ac143747a3

View File

@ -180,6 +180,12 @@ sub process_request
}
foreach (@{$nettab->getAllEntries()})
{
if ($_->{net} =~ /:/) {
my $rsp = {};
$rsp->{data}->[0] = "Ignoring IPv6 network, not supported in bind.pm (site.dnshandler=ddns if you want to do IPv6 DNS records";
xCAT::MsgeUtils->message("W",$rsp,$callback,1);
next;
}
push @args, "-n";
push @args, $_->{net} . ":" . $_->{mask};
}