1
1
mirror of https://github.com/eblot/pybootd.git synced 2024-09-11 22:17:44 +03:00

don't choke too hard on unknown options.

This commit is contained in:
David Decotigny 2016-05-22 22:10:56 -07:00
parent 4cfb701431
commit 55c5cf363c

View File

@ -281,9 +281,9 @@ class BootpServer:
self.log.debug(" option %d: '%s', size:%d %s" % \
(tag, option, length, hexline(value)))
except KeyError:
self.log.error(' unknown option %d, size:%d %s:' % \
(tag, length, hexline(value)))
return None
self.log.debug(' unknown option %d, size:%d %s:' % \
(tag, length, hexline(value)))
continue
dhcp_tags[tag] = value
def build_pxe_options(self, options, server):