diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2022-03-02 21:13:13 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2022-03-02 21:13:53 +0100 |
commit | c43334b0d460eaee9de0a9186f2fb16ffe3d9ca9 (patch) | |
tree | fc0f24e831d386cae8a1861c05c3c2ee5391ff4e /print-rx.c | |
parent | dc02d078e77c6072d849d4b8ba3fb5d977324f2a (diff) | |
download | tcpdump-c43334b0d460eaee9de0a9186f2fb16ffe3d9ca9.tar.gz |
RX: Add a const qualifier
Diffstat (limited to 'print-rx.c')
-rw-r--r-- | print-rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -499,7 +499,7 @@ static int rx_cache_find(netdissect_options *, const struct rx_header *, static void fs_print(netdissect_options *, const u_char *, u_int); static void fs_reply_print(netdissect_options *, const u_char *, u_int, uint32_t); -static void acl_print(netdissect_options *, u_char *, u_char *); +static void acl_print(netdissect_options *, u_char *, const u_char *); static void cb_print(netdissect_options *, const u_char *, u_int); static void cb_reply_print(netdissect_options *, const u_char *, u_int, uint32_t); static void prot_print(netdissect_options *, const u_char *, u_int); @@ -1145,7 +1145,7 @@ trunc: static void acl_print(netdissect_options *ndo, - u_char *s, u_char *end) + u_char *s, const u_char *end) { int pos, neg, acl; int n, i; |