From: Paul Jakma Date: Thu, 18 Jun 2009 11:34:43 +0000 (+0100) Subject: [bgpd] add comment that bgp_capability_receive is exported for unit-tests X-Git-Tag: frr-2.0-rc1~2297 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=01b7ce2db345429d7abc0446840f1d5c303c80af;p=matthieu%2Ffrr.git [bgpd] add comment that bgp_capability_receive is exported for unit-tests --- diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index de02bb86f6..d98b689a9b 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -2208,7 +2208,10 @@ bgp_capability_msg_parse (struct peer *peer, u_char *pnt, bgp_size_t length) return 0; } -/* Dynamic Capability is received. */ +/* Dynamic Capability is received. + * + * This is exported for unit-test purposes + */ int bgp_capability_receive (struct peer *peer, bgp_size_t size) {