Check more directly for location of arp (TODO: stop using arp, use ip neigh)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
58dc034d02
commit
e1a21649ff
@ -4297,7 +4297,7 @@ sub process_request {
|
||||
my $mac;
|
||||
my $ip = $request->{'_xcat_clientip'};
|
||||
my $arptable;
|
||||
if ( -e "/etc/debian_version" ) {
|
||||
if ( -x "/usr/sbin/arp" ) {
|
||||
$arptable = `/usr/sbin/arp -n`;
|
||||
}
|
||||
else{
|
||||
|
@ -690,7 +690,7 @@ sub process_request {
|
||||
my $mac;
|
||||
my $ip = $request->{'_xcat_clientip'};
|
||||
my $arptable;
|
||||
if ( -e "/etc/debian_version") {
|
||||
if ( -x "/usr/sbin/arp") {
|
||||
$arptable = `/usr/sbin/arp -n`;
|
||||
}
|
||||
else{
|
||||
|
@ -1438,7 +1438,7 @@ sub findme{
|
||||
xCAT::MsgUtils->message('S', "Profield nodes discover: _xcat_clientip is $ip.\n");
|
||||
my $mac = '';
|
||||
my $arptable;
|
||||
if ( -e "/etc/debian_version" ){
|
||||
if ( -x "/usr/sbin/arp" ){
|
||||
$arptable = `/usr/sbin/arp -n`;
|
||||
}
|
||||
else {
|
||||
|
@ -72,7 +72,7 @@ sub findme {
|
||||
return;
|
||||
}
|
||||
my $arptable;
|
||||
if ( -e "/etc/debian_version") {
|
||||
if ( -x "/usr/sbin/arp") {
|
||||
$arptable = `/usr/sbin/arp -n`;
|
||||
}
|
||||
else{
|
||||
|
@ -131,7 +131,7 @@ sub process_request {
|
||||
return;
|
||||
}
|
||||
my $arptable;
|
||||
if ( -e "/etc/debian_version") {
|
||||
if ( -x "/usr/sbin/arp") {
|
||||
$arptable = `/usr/sbin/arp -n`;
|
||||
}
|
||||
else{
|
||||
|
Loading…
Reference in New Issue
Block a user