]> git.puffer.fish Git - mirror/frr.git/commitdiff
[bgpd] add comment that bgp_capability_receive is exported for unit-tests
authorPaul Jakma <paul@quagga.net>
Thu, 18 Jun 2009 11:34:43 +0000 (12:34 +0100)
committerPaul Jakma <paul@quagga.net>
Thu, 18 Jun 2009 19:18:29 +0000 (20:18 +0100)
bgpd/bgp_packet.c

index de02bb86f65dcaf5c7140fa43350b4e68ea88246..d98b689a9b8da45385fd17f0754a574bf7cffdc3 100644 (file)
@@ -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)
 {