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:
parent
4cfb701431
commit
55c5cf363c
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user