Re: bgpd, move peer related functions to rde_peer.c

2020-01-09 Thread Sebastian Benoit
ok Claudio Jeker(cje...@diehard.n-r-g.com) on 2020.01.09 13:03:13 +0100: > On Thu, Jan 09, 2020 at 09:42:39AM +0100, Claudio Jeker wrote: > > This diff just moves some of the code from rde.c to rde_peer.c where it > > should be. Apart from moving the code peer_down() was modified so that it > >

Re: bgpd, move peer related functions to rde_peer.c

2020-01-09 Thread Claudio Jeker
On Thu, Jan 09, 2020 at 09:42:39AM +0100, Claudio Jeker wrote: > This diff just moves some of the code from rde.c to rde_peer.c where it > should be. Apart from moving the code peer_down() was modified so that it > can be used as callback of peer_foreach(). Also peer_foreach() was changed > to

bgpd, move peer related functions to rde_peer.c

2020-01-09 Thread Claudio Jeker
This diff just moves some of the code from rde.c to rde_peer.c where it should be. Apart from moving the code peer_down() was modified so that it can be used as callback of peer_foreach(). Also peer_foreach() was changed to just walk the peer list instead of traversing the peer hash table. OK? --