summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-eap.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-06-14 01:02:11 +0000
committerMichael Mann <mmann78@netscape.net>2013-06-14 01:02:11 +0000
commit0f0c111119811cf1c6c9353efdaaef302aca5930 (patch)
tree1184b3876ae3b638c401313def0c8172b475b3f0 /epan/dissectors/packet-eap.c
parentaf02ac36ac6dd2d6b97c904db7cc26e8395230e0 (diff)
downloadwireshark-0f0c111119811cf1c6c9353efdaaef302aca5930.tar.gz
Remove check_col() and the occasional tree.
svn path=/trunk/; revision=49920
Diffstat (limited to 'epan/dissectors/packet-eap.c')
-rw-r--r--epan/dissectors/packet-eap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-eap.c b/epan/dissectors/packet-eap.c
index 7ee34494b2..09f6975461 100644
--- a/epan/dissectors/packet-eap.c
+++ b/epan/dissectors/packet-eap.c
@@ -649,8 +649,7 @@ dissect_eap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
eap_code = tvb_get_guint8(tvb, 0);
- if (check_col(pinfo->cinfo, COL_INFO))
- col_add_str(pinfo->cinfo, COL_INFO,
+ col_add_str(pinfo->cinfo, COL_INFO,
val_to_str(eap_code, eap_code_vals, "Unknown code (0x%02X)"));
/*
@@ -742,8 +741,7 @@ dissect_eap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
case EAP_RESPONSE:
eap_type = tvb_get_guint8(tvb, 4);
- if (check_col(pinfo->cinfo, COL_INFO))
- col_append_fstr(pinfo->cinfo, COL_INFO, ", %s",
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", %s",
val_to_str_ext(eap_type, &eap_type_vals_ext,
"Unknown type (0x%02x)"));
if (tree)