2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 19:22:05 +00:00

do not try to add ipv6 networks into dhcp if there is no ipv6 network in networks table

This commit is contained in:
ligc 2015-06-02 23:43:53 -04:00
parent 1f14a1af98
commit 8fc48e7a21

View File

@ -2078,6 +2078,7 @@ sub putmyselffirst {
sub addnet6
{
if ($::XCATSITEVALS{externaldhcpservers}) { return; }
if (!$usingipv6) { return; }
my $netentry = shift;
my $net = $netentry->{net};
my $iface = $netentry->{iface};