From 5bbe280843fec8d5955914c78f52cb9cef7d61a4 Mon Sep 17 00:00:00 2001 From: Phil <phil@secdev.org> Date: Fri, 30 Jan 2009 17:03:36 +0100 Subject: [PATCH] MIP6OptMobNetPrefix.olen default value should be 18, not 16 (ticket #172) --- scapy/layers/inet6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py index c06ee922..ad62b4d6 100644 --- a/scapy/layers/inet6.py +++ b/scapy/layers/inet6.py @@ -2351,7 +2351,7 @@ class MIP6OptBindingAuthData(_MIP6OptAlign, Packet): class MIP6OptMobNetPrefix(_MIP6OptAlign, Packet): # NEMO - RFC 3963 name = 'NEMO Option - Mobile Network Prefix' fields_desc = [ ByteEnumField("otype", 6, _mobopttypes), - ByteField("olen", 16), + ByteField("olen", 18), ByteField("reserved", 0), ByteField("plen", 64), IP6Field("prefix", "::") ] -- GitLab