]> The Tcpdump Group git mirrors - tcpdump/commitdiff
UDP: Harmonize some function calls
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 9 Jun 2020 09:57:22 +0000 (11:57 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 9 Jun 2020 10:08:17 +0000 (12:08 +0200)
Some calls use '(const u_char *)(up + 1)' or '(const void *)(up + 1)'.
Other calls use 'cp' (same value).
Update the calls to only use 'cp'.

Moreover:
Update some other casted 'up + 1' uses to 'cp'.
Update some pointers to packet bytes from 'void *' to 'u_char *'.


No differences found