summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2012-07-09 21:06:52 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2012-07-09 21:06:52 +0000
commitb997606b80042519bd9be20798c6c01c4fbc7c5e (patch)
treee092e8366bc8bc67e8c1efa4dbe8c895c1c5cce6 /sbin
parentca9edd1b04a043ade5b72b273d7bdea59488deb2 (diff)
Fix typo in warning message.
ok mikeb sthen haesbaert henning
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 bc7ce949e31..7b6b308886a 100644
--- a/sbin/ipsecctl/ike.c
+++ b/sbin/ipsecctl/ike.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike.c,v 1.71 2012/06/30 14:51:31 naddy Exp $ */
+/* $OpenBSD: ike.c,v 1.72 2012/07/09 21:06:51 lteo Exp $ */
/*
* Copyright (c) 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -359,7 +359,7 @@ ike_section_p1(struct ipsec_rule *r, FILE *fd)
exchange_type = "AGGRESSIVE";
break;
default:
- warnx("illegal phase 2 ike mode %d", r->p1ie);
+ warnx("illegal phase 1 ike mode %d", r->p1ie);
return (-1);
}