git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git]
/
asn1
/
snmp
/
packet-snmp-template.c
diff --git
a/asn1/snmp/packet-snmp-template.c
b/asn1/snmp/packet-snmp-template.c
index af055c9c673f78418bb9dbfc6c7fc98c9b6e4f38..90faa70569a0cb1ab15ae6b052f428c045ac1f2b 100644
(file)
--- a/
asn1/snmp/packet-snmp-template.c
+++ b/
asn1/snmp/packet-snmp-template.c
@@
-1686,8
+1686,7
@@
dissect_smux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
next_tvb_init(&var_list);
- if (check_col(pinfo->cinfo, COL_PROTOCOL))
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "SMUX");
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "SMUX");
if (tree) {
item = proto_tree_add_item(tree, proto_smux, tvb, 0, -1, FALSE);