diff options
author | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-09-04 14:30:18 +0000 |
---|---|---|
committer | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-09-04 14:30:18 +0000 |
commit | 310641bdd2a217a4342d6a9169e4978080883165 (patch) | |
tree | 9160de5f6fe3402d7eef8f0cf43788547bd23f9a /packet-mtp3mg.c | |
parent | d4d23793cb1b4f3e09f576fec4e36ca89e877264 (diff) |
Indicate the Standard (ITU, ANSI, Chin. ITU) in the protocol column.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8370 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-mtp3mg.c')
-rw-r--r-- | packet-mtp3mg.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/packet-mtp3mg.c b/packet-mtp3mg.c index acdb68de63..e12514d916 100644 --- a/packet-mtp3mg.c +++ b/packet-mtp3mg.c @@ -10,7 +10,7 @@ * * Copyright 2003, Jeff Morriss <jeff.morriss[AT]ulticom.com> * - * $Id: packet-mtp3mg.c,v 1.7 2003/05/01 21:42:56 guy Exp $ + * $Id: packet-mtp3mg.c,v 1.8 2003/09/04 14:30:18 tuexen Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -848,8 +848,17 @@ dissect_mtp3mg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *mtp3mg_tree = NULL; /* Make entries in Protocol column and Info column on summary display */ - if (check_col(pinfo->cinfo, COL_PROTOCOL)) - col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG"); + switch(mtp3_standard) { + case ITU_STANDARD: + col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (Int. ITU)"); + break; + case ANSI_STANDARD: + col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (ANSI)"); + break; + case CHINESE_ITU_STANDARD: + col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (Chin. ITU)"); + break; + }; if (tree) { /* create display subtree for the protocol */ |