aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-babel.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2011-08-29 19:56:11 +0000
committerStephen Fisher <steve@stephen-fisher.com>2011-08-29 19:56:11 +0000
commitdf5fdf9e63fc9800ad69eb8cae7e09a68c30541e (patch)
tree8b1b79182e6fd70f28bb510cd960bc814984022d /epan/dissectors/packet-babel.c
parentf2c42f578b4528c4ac8de2bdccdb91d266d9049d (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. svn path=/trunk/; revision=38783
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);
}