From 72e4bea17f97facb8e187d82cfabc4b1f16f3c99 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 3 Jun 2013 08:29:25 +0000 Subject: [PATCH] fix the syntax error git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dhcp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index ea64c4feb..c2b4b880f 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -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)) {