from Job Snijders
ok phessler@ benno@
-/* $OpenBSD: parser.c,v 1.78 2017/06/26 10:05:57 phessler Exp $ */
+/* $OpenBSD: parser.c,v 1.79 2017/06/26 10:08:06 phessler Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
case COMMUNITY_BLACKHOLE:
/* valid */
break;
- default:
- /* unknown */
- fprintf(stderr, "Unknown well-known community\n");
- return (0);
}
if ((fs = calloc(1, sizeof(struct filter_set))) == NULL)
-/* $OpenBSD: parse.y,v 1.311 2017/06/26 10:05:57 phessler Exp $ */
+/* $OpenBSD: parse.y,v 1.312 2017/06/26 10:08:06 phessler Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
if ((i = getcommunity(s)) == COMMUNITY_ERROR)
return (-1);
- if (i == COMMUNITY_WELLKNOWN) {
- yyerror("Bad community AS number");
- return (-1);
- }
as = i;
if ((i = getcommunity(p)) == COMMUNITY_ERROR)