From 915cdcfb67fe7bd7d722a7daca0d8af599d1f138 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 15 Jun 2010 15:28:05 +0000 Subject: [PATCH] -Fix syntax error in previous checkin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6465 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 951d66413..748c2964d 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -1216,7 +1216,7 @@ sub addnet push @netent, "zone $domain. {\n"; push @netent, " primary $ddnserver; key xcat_key; \n"; push @netent, " }\n"; - foreach getzonesfornet($net,$mask) { + foreach (getzonesfornet($net,$mask)) { push @netent, "zone $_. {\n"; push @netent, " primary $ddnserver; key xcat_key; \n"; push @netent, " }\n";