summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{