summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/parse.y
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-04-27 04:38:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-04-27 04:38:13 +0000
commit138245b770337f4f15b26500be09ccf841f293b2 (patch)
tree7860ee5498fe878b97b62da62c0b2300726f7103 /usr.sbin/bgpd/parse.y
parent4298542c4bf89c4aaca4f684dc82477579541fbe (diff)
crud stripping; henning ok
Diffstat (limited to 'usr.sbin/bgpd/parse.y')
-rw-r--r--usr.sbin/bgpd/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 84681966635..4083a9bd81d 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.87 2004/04/27 02:35:24 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.88 2004/04/27 04:38:12 deraadt Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -318,7 +318,7 @@ address : STRING {
if (!host($1, &$$, &len)) {
yyerror("could not parse address spec \"%s\"",
- $1);
+ $1);
free($1);
YYERROR;
}
@@ -342,7 +342,7 @@ prefix : STRING '/' number {
if (!host(s, &$$.prefix, &$$.len)) {
yyerror("could not parse address \"%s/%u\"",
- $1, $3);
+ $1, $3);
free(s);
free($1);
YYERROR;