Remove a bunch of duplicate semicolons.
[obnox/wireshark/wip.git] / packet-mtp3.c
index 0e458b3ad8d71ccf4a402a75ccc80164c91ec711..1c1c0e4501e87192a98c0a335f797facc0568244 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright 2001, Michael Tuexen <tuexen [AT] fh-muenster.de>
  * Updated for ANSI and Chinese ITU support by Jeff Morriss <jeff.morriss[AT]ulticom.com>
  *
- * $Id: packet-mtp3.c,v 1.17 2003/07/09 10:41:07 tuexen Exp $
+ * $Id: packet-mtp3.c,v 1.22 2003/09/06 00:03:23 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -332,9 +332,19 @@ dissect_mtp3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   proto_item *mtp3_item = NULL;
   proto_tree *mtp3_tree = NULL;
 
-  /* Make entries in Protocol column and Info column on summary display */
+  /* Make entries in Protocol column on summary display */
   if (check_col(pinfo->cinfo, COL_PROTOCOL))
-    col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3");
+    switch(mtp3_standard) {
+      case ITU_STANDARD:
+        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3 (Int. ITU)");
+        break;
+      case ANSI_STANDARD:
+        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3 (ANSI)");
+        break;
+      case CHINESE_ITU_STANDARD:
+        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3 (Chin. ITU)");
+        break;
+    };      
 
   if (tree) {
     /* create display subtree for the protocol */