direction = DIR_UNKNOWN;
- if (check_col(pinfo->cinfo, COL_PROTOCOL))
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "QUAKE3");
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "QUAKE3");
if (tree) {
quake3_item = proto_tree_add_item(tree, proto_quake3,
}
if (tvb_get_ntohl(tvb, 0) == 0xffffffff) {
- if (check_col(pinfo->cinfo, COL_INFO)) {
- col_set_str(pinfo->cinfo, COL_INFO, "Connectionless ");
- }
+ col_set_str(pinfo->cinfo, COL_INFO, "Connectionless ");
if (quake3_tree)
proto_tree_add_uint_format(quake3_tree,
hf_quake3_connectionless,
tvb, pinfo, quake3_tree, &direction);
}
else {
- if (check_col(pinfo->cinfo, COL_INFO)) {
- col_set_str(pinfo->cinfo, COL_INFO, "Game ");
- }
+ col_set_str(pinfo->cinfo, COL_INFO, "Game ");
if (quake3_tree)
proto_tree_add_uint_format(quake3_tree,
hf_quake3_game,