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.
> >
>
>
>
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
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
> 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
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 :
:#
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));
> +
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