diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-09-03 22:47:35 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-09-03 22:47:35 +0900 |
commit | 396c32d4aa3950ae2cb9715cf23607397acd7837 (patch) | |
tree | 79fd1e481384f09939c5940fee83bff41f3c6160 | |
parent | e47c5bf16ab006a8c831840fe8c96deccabaa471 (diff) |
packet: dhcp should set _MIN_LEN
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/lib/packet/dhcp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ryu/lib/packet/dhcp.py b/ryu/lib/packet/dhcp.py index e82a6458..b0d60924 100644 --- a/ryu/lib/packet/dhcp.py +++ b/ryu/lib/packet/dhcp.py @@ -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' |