Re: Reject log message; bgp_community comparaison

2015-01-28 Thread Chris Caputo
On Wed, 28 Jan 2015, Arnaud Fenioux wrote: > Hello the bird community, > > I've two small questions, I've put them in the same mail even if they are not > related : > > 1/ I currently use this code in my config to reject ???martians??? > > if ( is_martian() ) then { > re

Re: Reject log message; bgp_community comparaison

2015-01-28 Thread Mikhail A. Grishin
Arnaud Fenioux wrote, 28.01.2015 17:20: Hello the bird community, I’ve two small questions, I've put them in the same mail even if they are not related : 1/ I currently use this code in my config to reject “martians” if ( is_martian() ) then { reject "prefix rejected

Reject log message; bgp_community comparaison

2015-01-28 Thread Arnaud Fenioux
Hello the bird community, I’ve two small questions, I've put them in the same mail even if they are not related : 1/ I currently use this code in my config to reject “martians” if ( is_martian() ) then { reject "prefix rejected by is_martian"; } Which prints in