From 72b709255ea5f9f33248565233591294ce78c881 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 30 Oct 2007 13:18:15 +0000 Subject: [PATCH] Fix makedhcp bug where gatewayed networks receive a dhcp stanza git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@19 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/usr/lib/xcat/plugins/dhcp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/usr/lib/xcat/plugins/dhcp.pm b/xCAT-server-2.0/usr/lib/xcat/plugins/dhcp.pm index 85f095df6..258816115 100644 --- a/xCAT-server-2.0/usr/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server-2.0/usr/lib/xcat/plugins/dhcp.pm @@ -177,7 +177,7 @@ sub process_request { } foreach (@nrn) { my @line = split /\s+/; - if ($activenics{$line[7]}) { + if ($activenics{$line[7]} and $line[3] !~ /G/) { addnet($line[0],$line[2]); } }