print and bgp_large_community

Ondrej Zajicek santiago at crfreenet.org
Tue Jan 24 14:19:43 CET 2017


On Tue, Jan 24, 2017 at 02:02:39PM +0100, Robert Sander wrote:
> Hi,
> 
> I need to print the bgp_large_community for debugging purposes but all I
> get is the output "(lclist )".
> 
> Are these list not printable?

Hi

Works for me:

filter/test.conf :
  ...
  ll = --- empty ---;
  ll = add(ll, (ten, 20, 30));
  ll = add(ll, (1000, 2000, 3000));
  ll = add(ll, mktrip(100000));
  print "LC list (10, 20, 30) (1000, 2000, 3000) (100000, 200000, 300000):";
  print ll;
  ...

./bird -p -c filter/test.conf :
  ...
  bird: LC list (10, 20, 30) (1000, 2000, 3000) (100000, 200000, 300000):
  bird: (lclist (10, 20, 30) (1000, 2000, 3000) (100000, 200000, 300000))
  ...

How are you using it?

-- 
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