diff options
author | Michael Mann <mmann78@netscape.net> | 2013-07-18 18:19:03 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-07-18 18:19:03 +0000 |
commit | b5cf7e160130e656e736a7e62811f993b428371c (patch) | |
tree | 54b3218aaff0f4b3b62bbc36e5b3ffac9f5ea8fb /epan/dissectors/packet-opsi.c | |
parent | ce4c06a47be39cf9da74f9d2d9c96d83d4b71361 (diff) |
Add fencing for COL_INFO (which was the intent of the dissector until I accidentally removed it in rev 50730.)
svn path=/trunk/; revision=50731
Diffstat (limited to 'epan/dissectors/packet-opsi.c')
-rw-r--r-- | epan/dissectors/packet-opsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-opsi.c b/epan/dissectors/packet-opsi.c index 22a411e38b..3c24876871 100644 --- a/epan/dissectors/packet-opsi.c +++ b/epan/dissectors/packet-opsi.c @@ -563,9 +563,10 @@ dissect_opsi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, "OPSI"); col_clear(pinfo->cinfo, COL_INFO); - col_add_fstr(pinfo->cinfo, COL_INFO, "Open Policy Service Interface, %s", + col_append_sep_fstr(pinfo->cinfo, COL_INFO, ", ", "%s", val_to_str(tvb_get_guint8(tvb, CODE_OFFSET), opsi_opcode, "<Unknown opcode %d>")); + col_set_fence(pinfo->cinfo, COL_INFO); ti = proto_tree_add_item(tree, proto_opsi, tvb, 0, -1, ENC_NA); opsi_tree = proto_item_add_subtree(ti, ett_opsi); |