fix for bug 3465129: pping should handle the output 'address not found'

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-01-06 08:30:34 +00:00
parent d22f5139d2
commit be26420229

View File

@ -153,6 +153,8 @@ sub fping_pping {
s/ is unreachable/: noping/;
} elsif ($_ =~ /is alive/) {
s/ is alive/: ping/;
} elsif ($_ =~ /address not found/) {
s/ address not found/: noping/;
}
print $_;
}