summaryrefslogtreecommitdiff
path: root/regress/sys/kern
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-10-14 09:46:15 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-10-14 09:46:15 +0000
commit5c45faf8b3dbdbe9ee41df6f5e44ca9879b1be3d (patch)
tree4b2e25c5d53d697113a6f560945a4324f1c07623 /regress/sys/kern
parent7529f9f8e4f903d791f2404abf48ad36be826174 (diff)
Rewrite log_peer_info() and log_peer_warn[x]()
Passing the peer description as part of the format string was a bad idea since the peer description may include some % signs (e.g. for link local IPv6 addresses). So instead of asprintf a new fmt string use vasprintf to get the message and then use logit("%s: %s", peer_info, msg). OK tb@
Diffstat (limited to 'regress/sys/kern')
0 files changed, 0 insertions, 0 deletions