From 835cf6f5c8c6c55b8f123213b37a544fab566ded Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Fri, 24 Nov 2006 08:07:19 +0000 Subject: fix typo for remote port; from Brian Candler --- sbin/ipsecctl/ike.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/ipsecctl/ike.c') 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 * @@ -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)); } -- cgit v1.2.3