From: benno Date: Fri, 7 Sep 2018 09:38:04 +0000 (+0000) Subject: allow as4number_any in as-sets. Otherwise you cant filter bogon as'es. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=49243ffd484f75086607ca03f4bbb33b4b83b7ee;p=openbsd allow as4number_any in as-sets. Otherwise you cant filter bogon as'es. ok claudio@ --- diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 0778e2ebf5d..5507245a4e9 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.335 2018/09/07 07:35:30 miko Exp $ */ +/* $OpenBSD: parse.y,v 1.336 2018/09/07 09:38:04 benno Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer @@ -409,8 +409,8 @@ asset : ASSET STRING '{' optnl { asset_done(); } -asset_l : as4number { asset_add($1); } - | asset_l optnl as4number { asset_add($3); } +asset_l : as4number_any { asset_add($1); } + | asset_l optnl as4number_any { asset_add($3); } conf_main : AS as4number { conf->as = $2;