History log of /openbsd-current/sbin/iked/print.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.4 13-Jun-2023 tb

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


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.3 26-Oct-2021 tobhe

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@


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.2 21-Mar-2021 tobhe

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


# 1.1 05-Mar-2021 tobhe

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

ok patrick@


# 1.3 26-Oct-2021 tobhe

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@


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.2 21-Mar-2021 tobhe

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


# 1.1 05-Mar-2021 tobhe

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

ok patrick@


# 1.2 21-Mar-2021 tobhe

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


# 1.1 05-Mar-2021 tobhe

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

ok patrick@