summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorPaul Jakma <paul@quagga.net>2009-06-18 12:34:43 +0100
committerPaul Jakma <paul@quagga.net>2009-06-18 20:18:29 +0100
commit01b7ce2db345429d7abc0446840f1d5c303c80af (patch)
tree2f20f0bc1f2fa5c7fdf7bc8e4b7993a6b80000c4 /bgpd
parent8e4c09307d9eafbbbf7fbffb3d3483287cea169b (diff)
[bgpd] add comment that bgp_capability_receive is exported for unit-tests
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_packet.c5
1 files changed, 4 insertions, 1 deletions
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)
{