-Don't add gatewayed entries from netstat output

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-03-26 18:21:36 +00:00
parent 8bb890df80
commit f1816c0d7b

@ -457,7 +457,7 @@ sub process_request
splice @nsrnoutput, 0, 2;
foreach (@nsrnoutput) { #scan netstat
my @parts = split /\s+/;
push @nrn,$parts[0].":".$parts[7].":".$parts[2];
push @nrn,$parts[0].":".$parts[7].":".$parts[2],":",$parts[3];
}
foreach(@vnets){
@ -586,7 +586,7 @@ sub process_request
{
next;
}
if ($activenics{$line[1]} and $line[2] !~ /G/)
if ($activenics{$line[1]} and $line[3] !~ /G/)
{
addnet($line[0], $line[2]);
}