From c62af3f608a048a61fbe525478e1a1d5fe3bf254 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 3 Apr 2009 18:03:08 +0000 Subject: [PATCH] -Fix problem where dhcpinterfaces was not being honored in the simplest case git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dhcp.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index ad62a6b98..a7001f62e 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -364,8 +364,9 @@ sub process_request INTF: foreach $dhcpif (split /;/,$dhcpinterfaces) { my $host; my $savehost; - my $foundself; + my $foundself=1; if ($dhcpif =~ /\|/) { + $foundself=0; (my $ngroup,$dhcpif) = split /\|/,$dhcpif; foreach $host (noderange($ngroup)) {