summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-07-24 12:11:50 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-07-24 12:11:50 +0000
commit955dfea9a858ed392d554c6e29ac799a46f60b85 (patch)
tree62cae3a2436ee3441bd6217dc5773900f934f067 /sbin
parenta148fec27c2f8af6a4c87b0c6e8ccc93a54c5d49 (diff)
use correct function names in error messages
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipsecctl/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y
index ea907cc7e77..eda3e4354ff 100644
--- a/sbin/ipsecctl/parse.y
+++ b/sbin/ipsecctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.13 2005/07/24 10:06:38 hshoexer Exp $ */
+/* $OpenBSD: parse.y,v 1.14 2005/07/24 12:11:49 hshoexer Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -197,7 +197,7 @@ ipsecrule : protocol dir hosts peer ids authtype {
r->nr = ipsec->rule_nr++;
if (ipsecctl_add_rule(ipsec, r))
- errx(1, "esprule: ipsecctl_add_rule");
+ errx(1, "ipsecrule: ipsecctl_add_rule");
/* Create and add reverse flow rule. */
if ($2 == IPSEC_INOUT) {
@@ -205,7 +205,7 @@ ipsecrule : protocol dir hosts peer ids authtype {
r->nr = ipsec->rule_nr++;
if (ipsecctl_add_rule(ipsec, r))
- errx(1, "esprule: ipsecctl_add_rule");
+ errx(1, "ipsecrule: ipsecctl_add_rule");
}
}
;