summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2017-05-31 20:01:51 +0000
committerclaudio <claudio@openbsd.org>2017-05-31 20:01:51 +0000
commit8758b02645a8a78875e98f8ef77c546ab9740425 (patch)
tree47ad53bc42f7ca26934bbf0b464dcfe0c7217f6c
parentlate game space battles require tty pledge to clear screen, etc. (diff)
downloadwireguard-openbsd-8758b02645a8a78875e98f8ef77c546ab9740425.tar.xz
wireguard-openbsd-8758b02645a8a78875e98f8ef77c546ab9740425.zip
Too vs To. Found by Denis Fondras openbsd (at) ledeuns (dot) net
-rw-r--r--usr.sbin/bgpd/parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 3359fcd1340..6dff3ef927f 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.308 2017/05/31 10:44:00 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.309 2017/05/31 20:01:51 claudio Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -3218,7 +3218,7 @@ parseextcommunity(struct filter_extcommunity *c, char *t, char *s)
return (-1);
}
if (errno == ERANGE && ullval > EXT_COMMUNITY_OPAQUE_MAX) {
- yyerror("Bad ext-community value to big");
+ yyerror("Bad ext-community value too big");
return (-1);
}
c->data.ext_opaq = ullval;
@@ -3504,7 +3504,7 @@ merge_prefixspec(struct filter_prefix_l *p, struct filter_prefixlen *pl)
case OP_LE:
case OP_GT:
if (pl->len_min > max_len) {
- yyerror("prefixlen %d to big for AF, limit %d",
+ yyerror("prefixlen %d too big for AF, limit %d",
pl->len_min, max_len);
return (-1);
}
@@ -3516,7 +3516,7 @@ merge_prefixspec(struct filter_prefix_l *p, struct filter_prefixlen *pl)
break;
case OP_LT:
if (pl->len_min > max_len - 1) {
- yyerror("prefixlen %d to big for AF, limit %d",
+ yyerror("prefixlen %d too big for AF, limit %d",
pl->len_min, max_len - 1);
return (-1);
}