fix the syntax error

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-06-03 08:29:25 +00:00
parent 73f7a9322b
commit 72e4bea17f

View File

@ -770,7 +770,7 @@ sub addnode_aix
my $netmask;
for ($i = 0; $i < scalar(@dhcpconf); $i++)
{
if ( $dhcpconf[$i] ~= / ([\d\.]+)\/(\d+) ip configuration end/)
if ( $dhcpconf[$i] =~ / ([\d\.]+)\/(\d+) ip configuration end/)
{
if (xCAT::NetworkUtils::isInSameSubnet( $ip, $1, $2, 1))
{