diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2017-09-13 13:26:02 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2017-09-13 13:33:02 +0100 |
commit | 413840cf188d748819f718655db02e8927d590b0 (patch) | |
tree | 52e7fe2042329a9978ea02f8967b85185f49b079 /print-eap.c | |
parent | e5ab6e7001ce66740193be7db47b462a944ada10 (diff) | |
download | tcpdump-413840cf188d748819f718655db02e8927d590b0.tar.gz |
Don't specify struct as "const" within sizeof().
The only difference the const qualifier makes in this context is visual,
make it consistent with the rest of the source code.
Diffstat (limited to 'print-eap.c')
-rw-r--r-- | print-eap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-eap.c b/print-eap.c index d76aea33..5126c96f 100644 --- a/print-eap.c +++ b/print-eap.c @@ -177,8 +177,8 @@ eap_print(netdissect_options *ndo, eap->version, EXTRACT_16BITS(eap->length))); - tptr += sizeof(const struct eap_frame_t); - tlen -= sizeof(const struct eap_frame_t); + tptr += sizeof(struct eap_frame_t); + tlen -= sizeof(struct eap_frame_t); switch (eap->type) { case EAP_FRAME_TYPE_PACKET: |