summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2006-11-24 08:07:19 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2006-11-24 08:07:19 +0000
commit835cf6f5c8c6c55b8f123213b37a544fab566ded (patch)
tree5bba00e0f110d4dd8b704e7c0c72dc370ac38bbe /sbin/ipsecctl
parent8f7bbdbf377d445a4296e8cf525deedb522641f9 (diff)
fix typo for remote port; from Brian Candler
Diffstat (limited to 'sbin/ipsecctl')
-rw-r--r--sbin/ipsecctl/ike.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecctl/ike.c b/sbin/ipsecctl/ike.c
index 099bf672503..809a70dcb53 100644
--- a/sbin/ipsecctl/ike.c
+++ b/sbin/ipsecctl/ike.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike.c,v 1.53 2006/11/21 13:51:17 markus Exp $ */
+/* $OpenBSD: ike.c,v 1.54 2006/11/24 08:07:18 markus Exp $ */
/*
* Copyright (c) 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -562,7 +562,7 @@ ike_section_p2ids(u_int8_t proto, struct ipsec_addr_wrap *src,
fprintf(fd, SET "[lid-%s]:Port=%d force\n", src->name,
ntohs(sport));
if (dport)
- fprintf(fd, SET "[rid-%s]:Port=%d force\n", src->name,
+ fprintf(fd, SET "[rid-%s]:Port=%d force\n", dst->name,
ntohs(dport));
}