diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-04-26 17:24:42 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-04-26 17:24:42 -0700 |
commit | 69cb46af9119e8b5554bcc4bf1bf36f39cb82131 (patch) | |
tree | f75d78587057b773da075ffcd071e831f1e7beeb /print-llc.c | |
parent | 4ac279241d8b41959cdef7b2778035cb014bb10b (diff) | |
download | tcpdump-69cb46af9119e8b5554bcc4bf1bf36f39cb82131.tar.gz |
Fix a bunch of de-constifications.
Diffstat (limited to 'print-llc.c')
-rw-r--r-- | print-llc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/print-llc.c b/print-llc.c index 1398e996..c86618b8 100644 --- a/print-llc.c +++ b/print-llc.c @@ -155,12 +155,12 @@ llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, if (caplen < 3) { ND_PRINT((ndo, "[|llc]")); - ND_DEFAULTPRINT((u_char *)p, caplen); + ND_DEFAULTPRINT((const u_char *)p, caplen); return (caplen); } if (length < 3) { ND_PRINT((ndo, "[|llc]")); - ND_DEFAULTPRINT((u_char *)p, caplen); + ND_DEFAULTPRINT((const u_char *)p, caplen); return (length); } @@ -187,12 +187,12 @@ llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, */ if (caplen < 4) { ND_PRINT((ndo, "[|llc]")); - ND_DEFAULTPRINT((u_char *)p, caplen); + ND_DEFAULTPRINT((const u_char *)p, caplen); return (caplen); } if (length < 4) { ND_PRINT((ndo, "[|llc]")); - ND_DEFAULTPRINT((u_char *)p, caplen); + ND_DEFAULTPRINT((const u_char *)p, caplen); return (length); } |