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
This commit is contained in:
jbjohnso 2007-10-30 13:18:15 +00:00
parent f23f876f6a
commit 72b709255e

View File

@ -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]);
}
}