Re: bgpctl change parser for communities

2023-04-17 Thread Theo Buehler
On Mon, Apr 17, 2023 at 12:45:43PM +0200, Claudio Jeker wrote: > On Mon, Apr 17, 2023 at 12:12:47PM +0200, Theo Buehler wrote: > > On Mon, Apr 17, 2023 at 11:28:37AM +0200, Claudio Jeker wrote: > > > I want to extend the parser to support lists in a few places. > > > One of them is for communities.

Re: bgpctl change parser for communities

2023-04-17 Thread Claudio Jeker
On Mon, Apr 17, 2023 at 12:12:47PM +0200, Theo Buehler wrote: > On Mon, Apr 17, 2023 at 11:28:37AM +0200, Claudio Jeker wrote: > > I want to extend the parser to support lists in a few places. > > One of them is for communities. This is the first step towards this goal. > > The change uses the fact

Re: bgpctl change parser for communities

2023-04-17 Thread Theo Buehler
On Mon, Apr 17, 2023 at 11:28:37AM +0200, Claudio Jeker wrote: > I want to extend the parser to support lists in a few places. > One of them is for communities. This is the first step towards this goal. > The change uses the fact that match_token() has access to argc and argv > and changes the comm

bgpctl change parser for communities

2023-04-17 Thread Claudio Jeker
I want to extend the parser to support lists in a few places. One of them is for communities. This is the first step towards this goal. The change uses the fact that match_token() has access to argc and argv and changes the community parsers to parse the next token for communities. As a nice side-e