summaryrefslogtreecommitdiff
path: root/print-eap.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-eap.c')
-rw-r--r--print-eap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-eap.c b/print-eap.c
index bfc678f5..924157de 100644
--- a/print-eap.c
+++ b/print-eap.c
@@ -243,7 +243,7 @@ eap_print(netdissect_options *ndo,
bittok2str(eap_tls_flags_values, "none", EXTRACT_U_1((tptr + 5))),
EXTRACT_U_1(tptr + 5)));
- if (EAP_TLS_EXTRACT_BIT_L(*(tptr+5))) {
+ if (EAP_TLS_EXTRACT_BIT_L(EXTRACT_U_1(tptr + 5))) {
ND_TCHECK_4(tptr + 6);
ND_PRINT((ndo, " len %u", EXTRACT_BE_U_4(tptr + 6)));
}
@@ -257,7 +257,7 @@ eap_print(netdissect_options *ndo,
bittok2str(eap_tls_flags_values, "none", EXTRACT_U_1((tptr + 5))),
EXTRACT_U_1(tptr + 5)));
- if (EAP_TLS_EXTRACT_BIT_L(*(tptr+5))) {
+ if (EAP_TLS_EXTRACT_BIT_L(EXTRACT_U_1(tptr + 5))) {
ND_TCHECK_4(tptr + 6);
ND_PRINT((ndo, " len %u", EXTRACT_BE_U_4(tptr + 6)));
}