diff options
author | 2009-01-29 10:05:50 +0000 | |
---|---|---|
committer | 2009-01-29 10:05:50 +0000 | |
commit | fd1a7ee09020b3e11fcfb4d0d0c87803ffa2ffe3 (patch) | |
tree | a258d0edc2e6077207e083ac288c85d3ccf8821b /sys/netinet | |
parent | In tcpdump some printf() had an additional \n at the end. Removing (diff) | |
download | wireguard-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')
0 files changed, 0 insertions, 0 deletions