diff options
author | 2011-04-23 03:17:04 +0000 | |
---|---|---|
committer | 2011-04-23 03:17:04 +0000 | |
commit | e76eb8e70ad45de9712869c42bd6560ff73cc79a (patch) | |
tree | 17dddf9ee9b87b5255be1f8e5241454ccd8d985d /sbin/isakmpd/exchange.c | |
parent | BRKSIZ is the right constant now, so I don't get lots of teeny tiny heaps (diff) | |
download | wireguard-openbsd-e76eb8e70ad45de9712869c42bd6560ff73cc79a.tar.xz wireguard-openbsd-e76eb8e70ad45de9712869c42bd6560ff73cc79a.zip |
Indicate which side of the connection responded during phase 1 while using -v.
ok sthen@ markus@
Diffstat (limited to 'sbin/isakmpd/exchange.c')
-rw-r--r-- | sbin/isakmpd/exchange.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/isakmpd/exchange.c b/sbin/isakmpd/exchange.c index 89bc1e2e3e7..7924e818c92 100644 --- a/sbin/isakmpd/exchange.c +++ b/sbin/isakmpd/exchange.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exchange.c,v 1.133 2009/01/28 13:24:07 hshoexer Exp $ */ +/* $OpenBSD: exchange.c,v 1.134 2011/04/23 03:17:04 lum Exp $ */ /* $EOM: exchange.c,v 1.143 2000/12/04 00:02:25 angelos Exp $ */ /* @@ -1427,7 +1427,9 @@ exchange_finalize(struct message *msg) "exchange_finalize: phase 1 done: %s, %s", id_doi, id_trp)); - log_verbose("isakmpd: phase 1 done: %s, %s", id_doi, id_trp); + log_verbose("isakmpd: phase 1 done%s: %s, %s", + (exchange->initiator == 0) ? " (as responder)" : "", + id_doi, id_trp); } exchange->doi->finalize_exchange(msg); if (exchange->finalize) |