From 7535bb2016e333a083a0dc91223bbd4553e2e9a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=BCxen?= Date: Sat, 19 Apr 2003 20:14:35 +0000 Subject: - added better handling of the INFO column using col_set_fence. - changed my e-mail. svn path=/trunk/; revision=7503 --- packet-asap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packet-asap.c b/packet-asap.c index 68efeed5e3..66e0bb1037 100644 --- a/packet-asap.c +++ b/packet-asap.c @@ -4,9 +4,9 @@ * http://www.ietf.org/internet-drafts/draft-ietf-rserpool-common-param-02.txt * http://www.ietf.org/internet-drafts/draft-ietf-rserpool-asap-05.txt * - * Copyright 2002, Michael Tuexen + * Copyright 2002, Michael Tuexen * - * $Id: packet-asap.c,v 1.8 2003/01/20 22:49:36 tuexen Exp $ + * $Id: packet-asap.c,v 1.9 2003/04/19 20:14:35 tuexen Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -539,8 +539,8 @@ dissect_asap_message(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *asap tvbuff_t *parameters_tvb; if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_str(pinfo->cinfo, COL_INFO, val_to_str(tvb_get_guint8(message_tvb, MESSAGE_TYPE_OFFSET), message_type_values, "Unknown ASAP type")); - col_append_str(pinfo->cinfo, COL_INFO, " "); + col_add_fstr(pinfo->cinfo, COL_INFO, "%s ", val_to_str(tvb_get_guint8(message_tvb, MESSAGE_TYPE_OFFSET), message_type_values, "Unknown ASAP type")); + col_set_fence(pinfo->cinfo, COL_INFO); } if (asap_tree) { proto_tree_add_item(asap_tree, hf_message_type, message_tvb, MESSAGE_TYPE_OFFSET, MESSAGE_TYPE_LENGTH, NETWORK_BYTE_ORDER); -- cgit v1.2.1