From 01b7ce2db345429d7abc0446840f1d5c303c80af Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Thu, 18 Jun 2009 12:34:43 +0100 Subject: [bgpd] add comment that bgp_capability_receive is exported for unit-tests --- bgpd/bgp_packet.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index de02bb86..d98b689a 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) { -- cgit v1.2.1