diff options
author | paulo <paul@bayleaf.org.uk> | 2010-01-13 17:56:10 +0000 |
---|---|---|
committer | paulo <paul@bayleaf.org.uk> | 2010-01-13 17:56:10 +0000 |
commit | 02e1b449d58345380db15b716391c20db55ed2d6 (patch) | |
tree | 0294e587a5fa352465c2cfb01f745b41ea40aac3 /bgpd/bgp_packet.c | |
parent | ff5b1c237fd67969ae5317763294bfbecaf655d0 (diff) | |
download | quagga-02e1b449d58345380db15b716391c20db55ed2d6.tar.bz2 quagga-02e1b449d58345380db15b716391c20db55ed2d6.tar.xz |
Knitting it all together. Still not got clean compile. Still lots of
TODOs.
Diffstat (limited to 'bgpd/bgp_packet.c')
-rw-r--r-- | bgpd/bgp_packet.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index cfafbdf9..3018daa9 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -838,6 +838,8 @@ void bgp_notify_send_with_data (struct peer *peer, u_char code, u_char sub_code, u_char *data, size_t datalen) { + /* TODO: do we still need this? */ +#if 0 struct stream *s; int length; @@ -914,6 +916,7 @@ bgp_notify_send_with_data (struct peer *peer, u_char code, u_char sub_code, BGP_WRITE_OFF (peer->t_write); bgp_write_notify (peer); +#endif } /* Send BGP notify packet. */ @@ -1820,6 +1823,8 @@ bgp_update_receive (struct peer *peer, bgp_size_t size) static void bgp_notify_receive (struct peer *peer, bgp_size_t size) { + /* TODO: do we still need this? */ +#if 0 struct bgp_notify bgp_notify; if (peer->notify.data) @@ -1894,6 +1899,7 @@ bgp_notify_receive (struct peer *peer, bgp_size_t size) UNSET_FLAG (peer->sflags, PEER_STATUS_CAPABILITY_OPEN); BGP_EVENT_ADD (peer, Receive_NOTIFICATION_message); +#endif } /* Keepalive treatment function -- get keepalive send keepalive */ |