diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-07-01 05:42:06 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-07-01 05:42:06 +0000 |
commit | 767806792f5644c0ba124b5b88937faf0d65f3ac (patch) | |
tree | 5d05dc3408ddf9a391be140e88c613ad061ac303 /sbin/isakmpd/policy.c | |
parent | b2575613f4a2be51ff6ce7f4035c3b081fa92ced (diff) |
Fix remote_negotiation_address attribute; fix sockaddr2text() return
value when zero-filling; log_error()->log_print() consistently.
Diffstat (limited to 'sbin/isakmpd/policy.c')
-rw-r--r-- | sbin/isakmpd/policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/policy.c b/sbin/isakmpd/policy.c index 25872a73dc6..9456ec9cf5a 100644 --- a/sbin/isakmpd/policy.c +++ b/sbin/isakmpd/policy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: policy.c,v 1.34 2001/06/29 18:52:17 ho Exp $ */ +/* $OpenBSD: policy.c,v 1.35 2001/07/01 05:42:05 angelos Exp $ */ /* $EOM: policy.c,v 1.49 2000/10/24 13:33:39 niklas Exp $ */ /* @@ -643,7 +643,7 @@ policy_callback (char *name) log_error ("policy_callback: sockaddr2text failed"); goto bad; } - memcpy (local_ike_address, addr, sizeof remote_ike_address); + memcpy (remote_ike_address, addr, sizeof remote_ike_address); free (addr); switch (policy_isakmp_sa->exch_type) |