mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 12:26:11 +02:00
packet: dhcp should set _MIN_LEN
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
e47c5bf16a
commit
396c32d4aa
@ -133,6 +133,7 @@ class dhcp(packet_base.PacketBase):
|
||||
every DHCP message).
|
||||
============== ====================
|
||||
"""
|
||||
_MIN_LEN = 236
|
||||
_HLEN_UNPACK_STR = '!BBB'
|
||||
_HLEN_UNPACK_LEN = struct.calcsize(_HLEN_UNPACK_STR)
|
||||
_DHCP_UNPACK_STR = '!BIHH4s4s4s4s%ds%ds64s128s'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user