diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-02-26 12:30:01 -0500 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-02-26 18:28:33 +0000 |
commit | 15a3a4436e30c7dc62b946f77a147074c9416cd6 (patch) | |
tree | 4d12a180e30f37b8495e9c17ef4cf3b724a12987 /epan/dissectors/packet-ubertooth.c | |
parent | 5ae7c2ffc0fb9ff539a5355be93b720dd747aba6 (diff) |
(Minor) Use col_add_str() iso col_set_str().
Change-Id: I3d430e7e6a6bbdcb518f0110bd81ab32f88c17f0
Reviewed-on: https://code.wireshark.org/review/409
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Tested-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-ubertooth.c')
-rw-r--r-- | epan/dissectors/packet-ubertooth.c | 7 |
1 files changed, 4 insertions, 3 deletions
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; } |