From 2238966cdae3984b5bdbb9f3891c825283f81235 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 10 Aug 2010 18:57:30 +0000 Subject: [PATCH] -Fix nodestat for routed nodes using nmap git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/nodestat.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/nodestat.pm b/xCAT-server/lib/xcat/plugins/nodestat.pm index 74e0a01be..916af49df 100644 --- a/xCAT-server/lib/xcat/plugins/nodestat.pm +++ b/xCAT-server/lib/xcat/plugins/nodestat.pm @@ -552,7 +552,8 @@ sub process_request_nmap { } delete $deadnodes{$currnode}; } elsif ($currnode) { - if (/^MAC/) { + #if (/^MAC/) { #oops not all nmap records end with MAC + if (/^$/) { #search for blank line instead my $status = join ',',sort keys %states ; my $appsd=""; foreach my $portnum(keys %portservices) {