From d8b05d1729d16c0484b66eb7cb9ddac4303621b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=BCxen?= Date: Sat, 19 Apr 2003 20:13:23 +0000 Subject: - add better INFO column handling using col_set_fence. - change my e-mail. svn path=/trunk/; revision=7502 --- packet-mtp3.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'packet-mtp3.c') diff --git a/packet-mtp3.c b/packet-mtp3.c index 4380738ea2..131f04668c 100644 --- a/packet-mtp3.c +++ b/packet-mtp3.c @@ -6,10 +6,10 @@ * ITU-T Q.704 7/1996 * GF 001-9001 (Chinese ITU variant) * - * Copyright 2001, Michael Tuexen + * Copyright 2001, Michael Tuexen * Updated for ANSI and Chinese ITU support by Jeff Morriss * - * $Id: packet-mtp3.c,v 1.15 2003/04/10 18:52:09 guy Exp $ + * $Id: packet-mtp3.c,v 1.16 2003/04/19 20:13:23 tuexen Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -315,12 +315,12 @@ dissect_mtp3_payload(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) break; } + if (check_col(pinfo->cinfo, COL_INFO)) + col_set_str(pinfo->cinfo, COL_INFO, "DATA "); + if (!dissector_try_port(mtp3_sio_dissector_table, service_indicator, - payload_tvb, pinfo, tree)) { + payload_tvb, pinfo, tree)) call_dissector(data_handle, payload_tvb, pinfo, tree); - if (check_col(pinfo->cinfo, COL_INFO)) - col_append_str(pinfo->cinfo, COL_INFO, "DATA "); - } } /* Code to actually dissect the packets */ -- cgit v1.2.3