CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/06/13 06:34:12
Modified files:
sbin/iked : iked.h ikev2.c ikev2_msg.c pfkey.c policy.c
print.c util.c vroute.c
Log message:
iked: introduce and use print_addr()
The vast majority of print_host() callers cast the first argument
(usually a sockaddr_storage *) to (struct sockaddr *) and pass both
a NULL buffer and 0 length. Cast and useless arguments lead to
awkward line wrapping in many places. Clean this up by introducing a
helper. Make this helper take a void pointer, so all casts go away.
ok claudio kn tobhe