From 024bd580607ea40e8911768ad4b06a39b7107a23 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 26 Jan 2011 14:47:59 +0000 Subject: [PATCH] -Fix error in dhcp.pm change git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8745 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 04f6fee4d..e75115698 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -313,7 +313,7 @@ sub addnode $hname = $node; } #Default to hostname equal to nodename unless ($mac) { next; } #Skip corrupt format - my $ip = inet_aton(inet_ntoa($hname)); #xCAT::Utils::getNodeIPaddress($hname); + my $ip = inet_ntoa(inet_aton($hname)); #xCAT::Utils::getNodeIPaddress($hname); if ($hname eq '*NOIP*') { $hname = $node . "-noip".$mac; $hname =~ s/://g;