ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Patch for NEMO

From: Nicolas DICHTEL <nicolas.dichtel@xxxxxxxxx>
Date: Fri, 29 Sep 2006 16:28:18 +0200
Hi,

please find enclosed a patch about Mobile Network Prefix
option in NEMO.
Following RFC3963 Section 4.3, lenght of this option is
18, not 16.


Regards,
Nicolas


--- wireshark-0.99.3a-orig/epan/dissectors/packet-mip6.h	2006-08-24 19:00:38.000000000 +0200
+++ wireshark-0.99.3a/epan/dissectors/packet-mip6.h	2006-09-29 16:18:07.967231797 +0200
@@ -10,6 +10,7 @@
  *
  * Modifications for NEMO packets (RFC 3963): Bruno Deniaud
  * (bdeniaud@xxxxxxxx, nono@xxxxxxxx) 12 Oct 2005
+ * Copyright 2006, Nicolas DICHTEL - 6WIND - <nicolas.dichtel@xxxxxxxxx>
  *
  * Wireshark - Network traffic analyzer
  * By Gerald Combs <gerald@xxxxxxxxxxxxx>
@@ -296,7 +297,7 @@ static const value_string fmip6_lla_optc
 #define MIP6_ACOA_ACOA_OFF    2
 #define MIP6_ACOA_ACOA_LEN   16
 
-#define NEMO_MNP_LEN         16
+#define NEMO_MNP_LEN         18
 #define NEMO_MNP_PL_OFF       3
 #define NEMO_MNP_MNP_OFF      4
 #define NEMO_MNP_MNP_LEN     16