From 49243ffd484f75086607ca03f4bbb33b4b83b7ee Mon Sep 17 00:00:00 2001 From: benno Date: Fri, 7 Sep 2018 09:38:04 +0000 Subject: [PATCH] allow as4number_any in as-sets. Otherwise you cant filter bogon as'es. ok claudio@ --- usr.sbin/bgpd/parse.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.20.1