From 15a3a4436e30c7dc62b946f77a147074c9416cd6 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Wed, 26 Feb 2014 12:30:01 -0500 Subject: (Minor) Use col_add_str() iso col_set_str(). Change-Id: I3d430e7e6a6bbdcb518f0110bd81ab32f88c17f0 Reviewed-on: https://code.wireshark.org/review/409 Reviewed-by: Bill Meier Tested-by: Bill Meier --- epan/dissectors/packet-ubertooth.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'epan/dissectors/packet-ubertooth.c') diff --git a/epan/dissectors/packet-ubertooth.c b/epan/dissectors/packet-ubertooth.c index 4c1890d546..995c299878 100644 --- a/epan/dissectors/packet-ubertooth.c +++ b/epan/dissectors/packet-ubertooth.c @@ -1305,15 +1305,16 @@ dissect_ubertooth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat switch (pinfo->p2p_dir) { case P2P_DIR_SENT: - col_set_str(pinfo->cinfo, COL_INFO, "Sent "); + col_add_str(pinfo->cinfo, COL_INFO, "Sent "); break; case P2P_DIR_RECV: - col_set_str(pinfo->cinfo, COL_INFO, "Rcvd "); + col_add_str(pinfo->cinfo, COL_INFO, "Rcvd "); break; default: - col_add_fstr(pinfo->cinfo, COL_INFO, "Unknown direction "); + col_add_fstr(pinfo->cinfo, COL_INFO, "Unknown direction %d ", + pinfo->p2p_dir); break; } -- cgit v1.2.3