Wireshark-dev: Re: [Wireshark-dev] [PATCH] add support for tipc dissector at transport level.
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 27 Jul 2012 14:01:59 +0200
Hi,

Why not request for a proper portnumber at IANA?

Thanks,
Jaap

On 2012-07-27 13:32, Karin Nilsson wrote:
Signed-off-by: Karin Nilsson <karin.nilsson@xxxxxxxxxxxx>
---
 epan/dissectors/packet-tipc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/epan/dissectors/packet-tipc.c b/epan/dissectors/packet-tipc.c
index 949cdf3..864d789 100644
--- a/epan/dissectors/packet-tipc.c
+++ b/epan/dissectors/packet-tipc.c
@@ -28,7 +28,7 @@
  * Protocol ref:
  * http://tipc.sourceforge.net/
  */
-
+#define TIPC_UDP_DEFAULT_PORT 54711

 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -2954,6 +2954,7 @@ proto_reg_handoff_tipc(void)
 		data_handle = find_dissector("data");

 		dissector_add_uint("ethertype", ETHERTYPE_TIPC, tipc_handle);
+ dissector_add_uint("udp.port", TIPC_UDP_DEFAULT_PORT, tipc_handle);

 		inited = TRUE;
 	} else {