summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2006-11-30 21:35:35 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2006-11-30 21:35:35 +0000
commit1eb54dc08628549d35a31b42f7d1cef3db072061 (patch)
treecb7784825261f3d62d2c12a7ce615b91570563e6 /sbin
parentfc6312dfdd36ef05b04b9a4f631ade708acbf94e (diff)
typo: wrong rid for protocol
Diffstat (limited to 'sbin')
-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 28bfa887120..2816d289af5 100644
--- a/sbin/ipsecctl/ike.c
+++ b/sbin/ipsecctl/ike.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike.c,v 1.57 2006/11/30 16:17:58 markus Exp $ */
+/* $OpenBSD: ike.c,v 1.58 2006/11/30 21:35:34 markus Exp $ */
/*
* Copyright (c) 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -547,7 +547,7 @@ ike_section_p2ids(struct ipsec_rule *r, FILE *fd)
fprintf(fd, SET "[lid-%s]:Protocol=%d force\n",
r->p2lid, r->proto);
fprintf(fd, SET "[rid-%s]:Protocol=%d force\n",
- r->p2lid, r->proto);
+ r->p2rid, r->proto);
}
if (r->sport)
fprintf(fd, SET "[lid-%s]:Port=%d force\n", r->p2lid,