diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py index ad62b4d6c7a569638837ce88909bda8e5c0a7e44..420b723b6d5f9e5cd376dd8be85ae75074f9d8d0 100644 --- a/scapy/layers/inet6.py +++ b/scapy/layers/inet6.py @@ -2726,7 +2726,7 @@ class MIP6MH_BU(_MobilityHeader): ByteField("res", None), XShortField("cksum", None), XShortField("seq", None), # TODO: ShortNonceField - FlagsField("flags", 49, 6, "AHLKMR"), + FlagsField("flags", "KHA", 6, "RMKLHA"), XBitField("reserved", 0, 10), LifetimeField("mhtime", 3), # unit == 4 seconds _PhantomAutoPadField("autopad", 1), # autopad activated by default @@ -2750,7 +2750,7 @@ class MIP6MH_BA(_MobilityHeader): ByteField("res", None), XShortField("cksum", None), ByteEnumField("status", 0, bastatus), - FlagsField("flags", 2, 2, "KR"), + FlagsField("flags", "K", 2, "RK"), XBitField("res2", None, 6), XShortField("seq", None), # TODO: ShortNonceField XShortField("mhtime", 0), # unit == 4 seconds