summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/parse.y')
-rw-r--r--usr.sbin/bgpd/parse.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 2a860e7e555..0eddbd03158 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.156 2005/03/29 11:13:33 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.157 2005/04/12 14:26:58 claudio Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1136,7 +1136,7 @@ filter_set_opt : LOCALPREF number {
}
| LOCALPREF '+' number {
if ($3 > INT_MAX) {
- yyerror("metric to small: max %u", INT_MAX);
+ yyerror("localpref to big: max %u", INT_MAX);
YYERROR;
}
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
@@ -1146,7 +1146,7 @@ filter_set_opt : LOCALPREF number {
}
| LOCALPREF '-' number {
if ($3 > INT_MAX) {
- yyerror("metric to small: min -%u", INT_MAX);
+ yyerror("localpref to small: min -%u", INT_MAX);
YYERROR;
}
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
@@ -1162,7 +1162,7 @@ filter_set_opt : LOCALPREF number {
}
| MED '+' number {
if ($3 > INT_MAX) {
- yyerror("metric to small: max %u", INT_MAX);
+ yyerror("metric to big: max %u", INT_MAX);
YYERROR;
}
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)
@@ -1188,7 +1188,7 @@ filter_set_opt : LOCALPREF number {
}
| METRIC '+' number {
if ($3 > INT_MAX) {
- yyerror("metric to small: max %u", INT_MAX);
+ yyerror("metric to big: max %u", INT_MAX);
YYERROR;
}
if (($$ = calloc(1, sizeof(struct filter_set))) == NULL)