History log of /openbsd/sbin/iked/print.c (Results 1 – 4 of 4)
Revision Date Author Comments
# 14e2a040 13-Jun-2023 tb <tb@openbsd.org>

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.

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

show more ...


# fc3e0ec8 26-Oct-2021 tobhe <tobhe@openbsd.org>

Make proto config option accept a list to allow specifying multiple
protocols for a single policy, e.g. "proto { ipencap, ipv6 }".

feedback and ok benno@
ok patrick@


# 0ec391d6 21-Mar-2021 tobhe <tobhe@openbsd.org>

The tag comes after iface in iked.conf(5).


# 97ca1c62 05-Mar-2021 tobhe <tobhe@openbsd.org>

Move policy printing code from parse.y to new print.c

ok patrick@