Merge pull request #214 from thedrow/patch-2
netbios type should be coerced to integer
This commit is contained in:
commit
461a57715f
1 changed files with 1 additions and 1 deletions
|
|
@ -1895,7 +1895,7 @@ class DHCPOptionsSetBackend(object):
|
|||
if field_value and len(field_value) > 4:
|
||||
raise InvalidParameterValueError(",".join(field_value))
|
||||
|
||||
if netbios_node_type and netbios_node_type[0] not in NETBIOS_NODE_TYPES:
|
||||
if netbios_node_type and int(netbios_node_type[0]) not in NETBIOS_NODE_TYPES:
|
||||
raise InvalidParameterValueError(netbios_node_type)
|
||||
|
||||
options = DHCPOptionsSet(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue