summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_notification.c
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-02-04 14:28:35 +0000
committerChris Hall <GMCH@hestia.halldom.com>2010-02-04 14:28:35 +0000
commitd8921b6522d8b55f3de87f90c4cdc0755acf8c7f (patch)
treeff4a9c0f119e08b4f58bce905e72ad7a05c6867d /bgpd/bgp_notification.c
parent8f50e8a0730a3feb670da99e979ed4c415ad5543 (diff)
downloadquagga-d8921b6522d8b55f3de87f90c4cdc0755acf8c7f.tar.bz2
quagga-d8921b6522d8b55f3de87f90c4cdc0755acf8c7f.tar.xz
Review and tidy new code and comments.
Follows David Lamparter's code for update-source handling. modified: bgpd/bgp_connection.c modified: bgpd/bgp_connection.h modified: bgpd/bgp_fsm.c modified: bgpd/bgp_fsm.h modified: bgpd/bgp_msg_read.c modified: bgpd/bgp_msg_read.h modified: bgpd/bgp_notification.c modified: bgpd/bgp_notification.h modified: bgpd/bgp_peer.c modified: bgpd/bgp_peer.h modified: bgpd/bgp_session.c modified: bgpd/bgp_session.h modified: lib/prefix.c modified: lib/prefix.h
Diffstat (limited to 'bgpd/bgp_notification.c')
-rw-r--r--bgpd/bgp_notification.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bgpd/bgp_notification.c b/bgpd/bgp_notification.c
index d14a13bf..2763f296 100644
--- a/bgpd/bgp_notification.c
+++ b/bgpd/bgp_notification.c
@@ -33,8 +33,6 @@
/*==============================================================================
* A bgp_notify structure encapsulates the contents of a BGP NOTIFICATION
* message.
- *
- *
*/
/*------------------------------------------------------------------------------
@@ -175,9 +173,9 @@ bgp_notify_unset(bgp_notify* p_notification)
} ;
/*------------------------------------------------------------------------------
- * Unset pointer to notification and free any existing notification structure.
+ * Unset pointer to notification and return the pointer value.
*
- * Does nothing if there is no structure.
+ * Returns NULL if there is no structure.
*/
extern bgp_notify
bgp_notify_take(bgp_notify* p_notification)