diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2009-01-29 10:05:51 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2009-01-29 10:05:51 +0000 |
commit | 9f79d82cfaf3152a99a4362b30e224ea2f722154 (patch) | |
tree | 82e4ef7607ff2251cfc5ef10fbfb8e4353be594c /regress/sbin/ipsecctl | |
parent | f1b5fd9fb4b135c42fa8ca81a521db3c8cd39f8c (diff) |
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 'regress/sbin/ipsecctl')
0 files changed, 0 insertions, 0 deletions