diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-07-21 16:27:21 -0700 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-07-28 10:04:38 +0100 |
commit | d023aec49f70156d2ed894a8fba65bcfa221ff02 (patch) | |
tree | 00ab5d69481c212b6ed2f350c5a5c7f430ef9208 /HACKING | |
parent | 03621955d8ab0ea30024bd8fc83afda8e48db712 (diff) |
bgpd: start listener on first instance
Start BGP listener only after first instance is started. This helps the
security if BGP is not used but daemon is started. It also addresses some
issues like MD5 not working on listener unless IPV6 configured (because
listener was not in list); as well as compiler warnings.
* bgp_network.c: (bgp_listener) listen socket creation consolidated here
(bgp_socket) Use bgp_listener
* bgpd.c: (bgp_get) call bgp_socket on creation of first struct bgp.
(bgp_init) remove bgp_socket call.
* memtypes.c: Add MTYPE_BGP_LISTENER
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions