From Juliusz Chroboczek via bug #6273:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 29 Aug 2011 19:56:11 +0000 (19:56 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 29 Aug 2011 19:56:11 +0000 (19:56 +0000)
IANA has reallocated the Babel port; it is now 6696.  The attached patch makes
wireshark grok both the old and new ports.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38783 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-babel.c

index 362f211f1433d73beb6894a6b973b61b1b5fe72b..84a83d9e94a97ce105ca207c61ebb6958a5ecad0 100644 (file)
@@ -57,7 +57,8 @@ static int hf_babel_message_hopcount = -1;
 
 static gint ett_subtree = -1;
 
-#define UDP_PORT_BABEL 6697
+#define UDP_PORT_BABEL 6696
+#define UDP_PORT_BABEL_OLD 6697
 
 #define MESSAGE_PAD1 0
 #define MESSAGE_PADN 1
@@ -510,4 +511,5 @@ proto_reg_handoff_babel(void)
 
     babel_handle = new_create_dissector_handle(dissect_babel, proto_babel);
     dissector_add_uint("udp.port", UDP_PORT_BABEL, babel_handle);
+    dissector_add_uint("udp.port", UDP_PORT_BABEL_OLD, babel_handle);
 }