aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-babel.c
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-08-29 19:56:11 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-08-29 19:56:11 +0000
commit0f8675042b9f6080532497692d26188b1c6a51ac (patch)
tree8b1b79182e6fd70f28bb510cd960bc814984022d /epan/dissectors/packet-babel.c
parent381b96655e2d53e7711c0a9c12a965a744be8f01 (diff)
From Juliusz Chroboczek via bug #6273:
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
Diffstat (limited to 'epan/dissectors/packet-babel.c')
-rw-r--r--epan/dissectors/packet-babel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-babel.c b/epan/dissectors/packet-babel.c
index 362f211f14..84a83d9e94 100644
--- a/epan/dissectors/packet-babel.c
+++ b/epan/dissectors/packet-babel.c
@@ -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);
}