replace inet_ntoa with IPv4/IPv6 compatible subroutine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
70447f45a1
commit
fd3417df9d
@ -1548,7 +1548,7 @@ sub mkNIMnetwork
|
||||
}
|
||||
|
||||
# get the ip of the nim primary interface
|
||||
my $gwIP = inet_ntoa(inet_aton($adapterhost));
|
||||
my $gwIP = xCAT::Utils->getipaddr($adapterhost);
|
||||
chomp $gwIP;
|
||||
|
||||
# create static routes between the networks
|
||||
|
Loading…
Reference in New Issue
Block a user