mirror of
https://github.com/eblot/pybootd.git
synced 2024-08-17 18:00:33 +03:00
Add option 81 meaning, and update log trace to help tracking unknown options
This commit is contained in:
parent
5cc8737c23
commit
7069761bcf
@ -137,6 +137,7 @@ DHCP_OPTIONS = {0: 'Byte padding',
|
||||
72: 'World Wide Web servers',
|
||||
73: 'Finger servers',
|
||||
74: 'Internet Relay Chat server',
|
||||
81: 'Client FQDN', # https://tools.ietf.org/html/rfc4702
|
||||
93: 'System architecture',
|
||||
94: 'Network type',
|
||||
97: 'UUID',
|
||||
@ -307,8 +308,8 @@ class BootpServer:
|
||||
self.log.debug(" option %d: '%s', size:%d %s" %
|
||||
(tag, option, length, hexline(value)))
|
||||
except KeyError:
|
||||
self.log.debug(' unknown option %d, size:%d %s:' %
|
||||
(tag, length, hexline(value)))
|
||||
self.log.debug(' unknown option %d (0x%02x), size:%d %s:' %
|
||||
(tag, tag, length, hexline(value)))
|
||||
continue
|
||||
dhcp_tags[tag] = value
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user