minor bgpd cleanup

2020-05-11 Thread Claudio Jeker
There is no need to limit the number of chars printed by log_reason(). log_reason() returns a strnvis cleaned buffer and so %s is good enough. While there wrap a long line. -- :wq Claudio Index: bgpd.c === RCS file:

Re: minor bgpd cleanup

2020-02-14 Thread Sebastian Benoit
ok Claudio Jeker(cje...@diehard.n-r-g.com) on 2020.02.14 14:06:37 +0100: > Move and rename copy_filterset to rde_filter.c as filterset_copy. > This way it matches the other filterset_* functions. > > OK? > -- > :wq Claudio > > Index: bgpd.h >

minor bgpd cleanup

2020-02-14 Thread Claudio Jeker
Move and rename copy_filterset to rde_filter.c as filterset_copy. This way it matches the other filterset_* functions. OK? -- :wq Claudio Index: bgpd.h === RCS file: /cvs/src/usr.sbin/bgpd/bgpd.h,v retrieving revision 1.400 diff -u

minor bgpd cleanup

2019-10-02 Thread Claudio Jeker
When removing a peer currently there is a ugly warning: pfkey reload: no such peer: id=3 Because the peer removal happens late in the SE the parent already removed it and so the last IMSG_PFKEY_RELOAD call when stopping the session before removal has no peer to match against. So silence the