From 5218177975feebdb015132405036c2b51f557732 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 28 Jan 2008 14:19:25 +0000 Subject: [PATCH] Fix glaring typo in dhcp.pm causing node deletion from dhcp database to fail git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@337 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/plugins/dhcp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/dhcp.pm b/xCAT-server-2.0/lib/xcat/plugins/dhcp.pm index c3cf1dcbd..601def01a 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/dhcp.pm @@ -37,7 +37,7 @@ sub delnode { my $mac; my $hname; ($mac,$hname) = split (/!/,$mace); - unless ($hmame) { $hmame = $node; } + unless ($hname) { $hname = $node; } print $omshell "new host\n"; print $omshell "set name = \"$hname\"\n"; #Find and destroy conflict name print $omshell "open\n";