Wireshark-dev: [Wireshark-dev] [PATCH] add support for tipc dissector at transport level.

From: Karin Nilsson <karin.nilsson@xxxxxxxxxxxx>
Date: Fri, 27 Jul 2012 13:32:27 +0200
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 {
-- 
1.7.5.4