diff options
author | Paul Jakma <paul@quagga.net> | 2012-05-01 16:24:35 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-05-02 11:02:11 +0100 |
commit | 7621f336e2f346edee43227f0b1ef93fe769720b (patch) | |
tree | 2bda36681214336bf55345cd47efb2c25fc460c2 /babeld/babel_filter.h | |
parent | 1dba254e107dd0c4254d58e9304fc6293b46fd4d (diff) |
bgpd: Make socket init separate, so unit tests work again.
* Separate out BGP socket initialisation from bgp_get, and make it an
explicit function. Allows unit tests to work again and probably also
benefits dry-run.
* bgpd.c: (bgp_get) move socket init out...
(bgp_socket_init) to here
* bgp_main.c: and call it after dry-run.
* bgpd.h: (bgp_socket_init) add prototype
Diffstat (limited to 'babeld/babel_filter.h')
0 files changed, 0 insertions, 0 deletions