]> The Tcpdump Group git mirrors - tcpdump/commit
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)
commitea0f25cc7765554e521bf7ea44d94f77500749f5
tree44b2f6aad777a33eb788bf21dbca173ebbc200d7
parent50fab58b36c49137d428e050f25f555657642943
UDP: Harmonize some function calls

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 *'.
print-udp.c