Re: bgpd: print AS range

2016-07-13 Thread Sebastian Benoit
Hei, i finally commited this. Thank you. Denis Fondras(open...@ledeuns.net) on 2016.06.05 11:02:31 +0200: > On Sun, Jun 05, 2016 at 10:28:05AM +0200, Sebastian Benoit wrote: > > hei, > > > > thanks! i forgot that we print the config. > > > > ok benno@, with whitespace fixed. > > > > >

Re: bgpd: print AS range

2016-06-05 Thread Denis Fondras
On Sun, Jun 05, 2016 at 10:28:05AM +0200, Sebastian Benoit wrote: > hei, > > thanks! i forgot that we print the config. > > ok benno@, with whitespace fixed. > Index: printconf.c === RCS file: /cvs/src/usr.sbin/bgpd/printconf.c,v

Re: bgpd: print AS range

2016-06-05 Thread Sebastian Benoit
hei, thanks! i forgot that we print the config. ok benno@, with whitespace fixed. Denis Fondras(open...@ledeuns.net) on 2016.06.05 10:06:29 +0200: > > This didn't quite work, as log_as will override itself when used twice > > in the same printf. > > > > I should not have sent this late at

Re: bgpd: print AS range

2016-06-05 Thread Denis Fondras
> This didn't quite work, as log_as will override itself when used twice > in the same printf. > I should not have sent this late at night... Index: printconf.c === RCS file: /cvs/src/usr.sbin/bgpd/printconf.c,v retrieving

Re: bgpd: print AS range

2016-06-04 Thread Peter Hessler
This didn't quite work, as log_as will override itself when used twice in the same printf. I also fixed some knf bits. On 2016 Jun 04 (Sat) at 22:13:07 +0200 (+0200), Denis Fondras wrote: :With the support of AS range filtering, we need to print the configuration :accordingly. : :Before : :#

Re: bgpd: print AS range

2016-06-04 Thread Stuart Henderson
On 2016/06/04 22:13, Denis Fondras wrote: > With the support of AS range filtering, we need to print the configuration > accordingly. OK sthen@ > if (r->match.as.type) { > if (r->match.as.type == AS_ALL) > - printf("AS %s ", log_as(r->match.as.as)); > +

bgpd: print AS range

2016-06-04 Thread Denis Fondras
With the support of AS range filtering, we need to print the configuration accordingly. Before : # bgpd -dnv [...] deny from any AS 0 deny from any AS 0 deny from any AS 65535 deny from any AS 0 deny from any AS 0 deny from any AS 0 deny from any AS 4294967295 After : # bgpd -dnv [...] deny