diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-02-04 00:23:31 +0000 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-02-04 00:23:31 +0000 |
commit | 8f50e8a0730a3feb670da99e979ed4c415ad5543 (patch) | |
tree | e6641ed8104ef2091500cd5899bc4c0a2556f2a9 /bgpd/bgp_packet.c | |
parent | efb3431b878cd7390fabfc7ddb263cc57b1ae641 (diff) | |
download | quagga-8f50e8a0730a3feb670da99e979ed4c415ad5543.tar.bz2 quagga-8f50e8a0730a3feb670da99e979ed4c415ad5543.tar.xz |
Tidying up the new FSM and exception handling.
modified: bgpd/bgp_common.h
modified: bgpd/bgp_fsm.c
modified: bgpd/bgp_fsm.h
modified: bgpd/bgp_msg_read.c
modified: bgpd/bgp_msg_write.c
modified: bgpd/bgp_notification.c
modified: bgpd/bgp_notification.h
modified: bgpd/bgp_packet.c
Diffstat (limited to 'bgpd/bgp_packet.c')
-rw-r--r-- | bgpd/bgp_packet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index f8c0f0bb..e416cd34 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -825,8 +825,7 @@ bgp_notify_send_with_data (struct peer *peer, u_char code, u_char sub_code, u_char *data, size_t datalen) { bgp_notify notification; - notification = bgp_notify_new(code, sub_code, datalen); - bgp_notify_append_data(notification, data, datalen); + notification = bgp_notify_new_with_data(code, sub_code, data, datalen); /* For debug */ bgp_notify_print (peer, notification, "sending"); |