summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authorhshoexer <hshoexer@openbsd.org>2009-01-29 10:05:50 +0000
committerhshoexer <hshoexer@openbsd.org>2009-01-29 10:05:50 +0000
commitfd1a7ee09020b3e11fcfb4d0d0c87803ffa2ffe3 (patch)
treea258d0edc2e6077207e083ac288c85d3ccf8821b /sys/netinet/ip_output.c
parentIn tcpdump some printf() had an additional \n at the end. Removing (diff)
downloadwireguard-openbsd-fd1a7ee09020b3e11fcfb4d0d0c87803ffa2ffe3.tar.xz
wireguard-openbsd-fd1a7ee09020b3e11fcfb4d0d0c87803ffa2ffe3.zip
Improve logging:
- in ipsec_delete_spi_list() a log_verbose is added, when a remote peer sends us a delete message for an SA. However, to avoid spamming the log when SAs are deleted during re-keying, I only log_verbose, when the soft timeout of the SA is not expired yet. Thus only deletion of live SAs gets logged. - in ipsec_decode_ids() I remove the additonal printing of IP-Adresses in hex as the addresses are already printed in CIDR. - while there, apply some KNF ok todd@, mpf@, bluhm@
Diffstat (limited to 'sys/netinet/ip_output.c')
0 files changed, 0 insertions, 0 deletions