summaryrefslogtreecommitdiff
path: root/keyexchange
diff options
context:
space:
mode:
Diffstat (limited to 'keyexchange')
-rw-r--r--keyexchange/isakmpd-20041012/pf_key_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyexchange/isakmpd-20041012/pf_key_v2.c b/keyexchange/isakmpd-20041012/pf_key_v2.c
index fa0c69b..2614b7e 100644
--- a/keyexchange/isakmpd-20041012/pf_key_v2.c
+++ b/keyexchange/isakmpd-20041012/pf_key_v2.c
@@ -468,7 +468,7 @@ pf_key_v2_write(struct pf_key_v2_msg *pmsg)
(u_int8_t *) iov[i].iov_base, iov[i].iov_len));
}
- n = writev(pf_key_v2_socket, iov, cnt);
+ n = writev(pf_key_v4_socket, iov, cnt);
if (n == -1) {
log_error("pf_key_v2_write: writev (%d, %p, %d) failed",
pf_key_v2_socket, iov, cnt);