From b906c2481657a6bce72c3fde1c9f5761936d0714 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 25 Feb 2013 16:26:31 +0000 Subject: [PATCH] Certain nmap output with ipv6 could leave nodename with a trailing \n, correct git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/nodestat.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/nodestat.pm b/xCAT-server/lib/xcat/plugins/nodestat.pm index 86ca6ed35..2201d7d2e 100644 --- a/xCAT-server/lib/xcat/plugins/nodestat.pm +++ b/xCAT-server/lib/xcat/plugins/nodestat.pm @@ -667,6 +667,7 @@ sub process_request_nmap { } $currnode=$tmpnode; $currnode =~ s/:$//; + $currnode =~ s/\n$//; my $nip;