From 07154d71273b2da86f0ea6a6878c0821e8078686 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 20 Jan 2011 21:24:09 +0000 Subject: [PATCH] -Correct mistake in dhcp.pm management of ipv6 subnets git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dhcp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index ba10c60f6..47a7ab905 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -1325,7 +1325,7 @@ sub addnet6 my $net = $netentry->{net}; my $iface = $netentry->{iface}; my $idx = 0; - if (grep /\{ # $net subnet_end/,@dhcp6conf) { #need to add to dhcp6conf + unless (grep /\{ # $net subnet_end/,@dhcp6conf) { #need to add to dhcp6conf return; } else { #need to add to dhcp6conf while ($idx <= $#dhcp6conf)