]> The Tcpdump Group git mirrors - tcpdump/commit
PFLOG: Try to fix previous commit
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 14 Dec 2020 21:02:01 +0000 (22:02 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 14 Dec 2020 21:05:57 +0000 (22:05 +0100)
commit89fc495c07b6c29d5d713c004d2a02c0cc84728c
treee015a42b37c2ee564dbd4cadeaef1e1ef3d21eeb
parent833305f9288d19f46158cb7932d32fad176f3e28
PFLOG: Try to fix previous commit

The error was:
./print-pflog.c:99:20: error: passing 'char const[16]' to parameter
of type 'const u_char *' (aka 'const unsigned char *') converts
between pointers to integer types with different sign
[-Werror,-Wpointer-sign]
                nd_printjnp(ndo, hdr->ruleset, PFLOG_RULESET_NAME_SIZE);
                                 ^~~~~~~~~~~~
./netdissect.h:397:61: note: passing argument to parameter here
extern void nd_printjnp(netdissect_options *, const u_char *, u_int);
                                                            ^
print-pflog.c