summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/hostbase
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@mcs.anl.gov>2006-09-26 16:11:43 +0000
committerKen Raffenetti <raffenet@mcs.anl.gov>2006-09-26 16:11:43 +0000
commit31523d946fb104c8153f32d202ac710e739e58c0 (patch)
tree740d9b468aca53758fbdeefc3f02a1b63f13cbae /src/lib/Server/Hostbase/hostbase
parent1cb2081eb7ece5b3f3ab335599f22095f7250f99 (diff)
downloadbcfg2-31523d946fb104c8153f32d202ac710e739e58c0.tar.gz
bcfg2-31523d946fb104c8153f32d202ac710e739e58c0.tar.bz2
bcfg2-31523d946fb104c8153f32d202ac710e739e58c0.zip
bug in new host addition
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2315 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase')
-rw-r--r--src/lib/Server/Hostbase/hostbase/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/views.py b/src/lib/Server/Hostbase/hostbase/views.py
index ad681bf76..757b43da0 100644
--- a/src/lib/Server/Hostbase/hostbase/views.py
+++ b/src/lib/Server/Hostbase/hostbase/views.py
@@ -533,7 +533,7 @@ def new(request):
if request.POST['mac_addr_new2']:
new_inter = Interface(host=host,
mac_addr=request.POST['mac_addr_new2'],
- hdwr_type=request.POST['hdwr_addr_new2'])
+ hdwr_type=request.POST['mac_addr_new2'])
new_inter.save()
if request.POST['mac_addr_new2'] and request.POST['ip_addr_new2']:
new_ip = IP(interface=new_inter, num=0,