summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-05 14:06:48 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-05 14:06:48 -0400
commitef950c4f8b7a853469acd5e2ec033eededf72327 (patch)
treec093912fcef88b29982a99e84001ac00dbdbd4c9
parent677f54d3bcdc58ccc2ebf87973c156bf2836ec9a (diff)
downloadthird_party-cobbler-ef950c4f8b7a853469acd5e2ec033eededf72327.tar.gz
third_party-cobbler-ef950c4f8b7a853469acd5e2ec033eededf72327.tar.xz
third_party-cobbler-ef950c4f8b7a853469acd5e2ec033eededf72327.zip
Fix dhcpd.conf rendering bug.
-rw-r--r--CHANGELOG1
-rw-r--r--cobbler/action_sync.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index f8e5b5a..a81c3aa 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -3,6 +3,7 @@ Cobbler CHANGELOG
* Fri Aug 31 2007 - 0.6.2
- cobbler repo auto-add to discover yum repos automatically
+- fix bug that allows empty mac addresses (None) in dhcpd.conf
* Thu Aug 30 2007 - 0.6.1
- re enable --resolve in yumdownloader (cobbler repo mgmt feature)
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index 8302504..03eeb02 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -153,7 +153,7 @@ class BootSync:
if mac is None or mac == "":
# can't write a DHCP entry for this system
# FIXME: should this be a warning?
- pass
+ continue
counter = counter + 1
systxt = ""