M3AP: display short protocol name in protocol column
authorPascal Quantin <pascal.quantin@gmail.com>
Wed, 7 Sep 2016 08:33:03 +0000 (10:33 +0200)
committerPascal Quantin <pascal.quantin@gmail.com>
Wed, 7 Sep 2016 08:34:03 +0000 (08:34 +0000)
Change-Id: I7575caad67101d394c2c80d4bfd81f83389043aa
Reviewed-on: https://code.wireshark.org/review/17551
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
epan/dissectors/asn1/m3ap/packet-m3ap-template.c
epan/dissectors/packet-m3ap.c

index 2d483587e647babd371de87ca899d9790537a9b8..a9ebcac06520c371980cd459b188d4a0f40f9ade 100644 (file)
@@ -127,7 +127,7 @@ dissect_m3ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
   proto_tree      *m3ap_tree = NULL;
 
   /* make entry in the Protocol column on summary display */
-  col_set_str(pinfo->cinfo, COL_PROTOCOL, PNAME);
+  col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
 
   /* create the m3ap protocol tree */
   if (tree) {
index 705296ce0c22d72fe08a8b54df3f6118e1e5ab78..a84e8e951712ff227b22985c10e642671eaec226 100644 (file)
@@ -2052,7 +2052,7 @@ dissect_m3ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
   proto_tree      *m3ap_tree = NULL;
 
   /* make entry in the Protocol column on summary display */
-  col_set_str(pinfo->cinfo, COL_PROTOCOL, PNAME);
+  col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);
 
   /* create the m3ap protocol tree */
   if (tree) {