Adding more then one bgp community at once

Ondrej Zajicek santiago at crfreenet.org
Fri May 5 15:31:30 CEST 2023


On Fri, May 05, 2023 at 01:10:10PM +0300, Mikhail Grishin wrote:
> Hi,
> 
> I tried the same at BIRD 2.13 . It reports  "Can't add set".
> 
> At the same time in docs
> --
> |add(/C/,/P/)| adds pair (or quad) /P/ to clist /C/ and returns the result.
> If item /P/ is already in clist /C/, it does nothing. /P/ may also be a
> clist, in that case all its members are added; i.e., it works as clist
> union.

Hi

The docs says "/P/ may also be a clist", but it cannot be a pair set,
while the literal '[(1,1), (1,2)]' is a pair set literal. Unfortunately
we do not have literals for clists.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list