summaryrefslogtreecommitdiffstats
path: root/cobbler/services.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/services.py')
-rw-r--r--cobbler/services.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/services.py b/cobbler/services.py
index 5d428cc9..bd787559 100644
--- a/cobbler/services.py
+++ b/cobbler/services.py
@@ -102,7 +102,7 @@ class CobblerSvc(object):
# FIXME: will not key off other NICs, problem?
mac = macinput.split()[1].strip()
else:
- macinput = "None"
+ mac = "None"
ip = rest["REMOTE_ADDR"]
@@ -110,7 +110,7 @@ class CobblerSvc(object):
for x in systems:
for y in x["interfaces"]:
- if x["interfaces"][y]["mac_address"].lower() == macinput.lower():
+ if x["interfaces"][y]["mac_address"].lower() == mac.lower():
candidates.append(x)
if len(candidates) == 0: