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]
/
epan
/
dissectors
/
packet-beep.c
diff --git
a/epan/dissectors/packet-beep.c
b/epan/dissectors/packet-beep.c
index eaec0d8e04f6a639132c61d4774c7ea7031b3b39..8f5ecc54d9d717f187dd93c6c70c08e0fcba50cd 100644
(file)
--- a/
epan/dissectors/packet-beep.c
+++ b/
epan/dissectors/packet-beep.c
@@
-893,8
+893,7
@@
dissect_beep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
}
- if (check_col(pinfo->cinfo, COL_PROTOCOL))
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "BEEP");
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "BEEP");
if (check_col(pinfo->cinfo, COL_INFO)) { /* Check the type ... */