summaryrefslogtreecommitdiff
path: root/plugins/stats_tree
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-06-17 21:54:21 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-06-17 21:54:21 +0000
commit24623bdff3727c98d9662d6ef183883b8b114be9 (patch)
tree2b1eb0fe9c7a30ea487e6f5a5a8ee417515fd34a /plugins/stats_tree
parent32b95570df10da14e9662ac91974e89156221e10 (diff)
downloadwireshark-24623bdff3727c98d9662d6ef183883b8b114be9.tar.gz
More PDU export work:
- add automatic export of port type when exporting a source / destination port - add export of SCTP PPID (usefulness to be checked) - fix some field size svn path=/trunk/; revision=49989
Diffstat (limited to 'plugins/stats_tree')
-rw-r--r--plugins/stats_tree/pinfo_stats_tree.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/plugins/stats_tree/pinfo_stats_tree.c b/plugins/stats_tree/pinfo_stats_tree.c
index 143daf8d04..6529040d98 100644
--- a/plugins/stats_tree/pinfo_stats_tree.c
+++ b/plugins/stats_tree/pinfo_stats_tree.c
@@ -30,26 +30,10 @@
#include <epan/prefs.h>
#include <epan/uat.h>
#include <epan/uat-int.h>
+#include <epan/to_str.h>
#include "pinfo_stats_tree.h"
-/* XXX: this belongs to to_str.c */
-static const gchar* port_type_to_str (port_type type) {
- switch (type) {
- case PT_NONE: return "NONE";
- case PT_SCTP: return "SCTP";
- case PT_TCP: return "TCP";
- case PT_UDP: return "UDP";
- case PT_IPX: return "IPX";
- case PT_NCP: return "NCP";
- case PT_EXCHG: return "FC EXCHG";
- case PT_DDP: return "DDP";
- case PT_SBCCS: return "FICON SBCCS";
- case PT_IDP: return "IDP";
- default: return "[Unknown]";
- }
-}
-
/*-------------------------------------
* UAT for Packet Lengths
*-------------------------------------