From 8758b02645a8a78875e98f8ef77c546ab9740425 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 31 May 2017 20:01:51 +0000 Subject: [PATCH] Too vs To. Found by Denis Fondras openbsd (at) ledeuns (dot) net --- usr.sbin/bgpd/parse.y | 8 ++++---- 1 file 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 @@ -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); } -- 2.20.1