summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2010-01-15 17:41:05 +0000
committerpaulo <paul@bayleaf.org.uk>2010-01-15 17:41:05 +0000
commit65229f16936aad129d71875e427e82e4fa6d3f5d (patch)
tree504749e6451653936fdd94290a5fc8b5ec1913c3 /bgpd/bgp_debug.c
parent77c11942a1d6911c306be2fb59f60704ae884717 (diff)
downloadquagga-65229f16936aad129d71875e427e82e4fa6d3f5d.tar.bz2
quagga-65229f16936aad129d71875e427e82e4fa6d3f5d.tar.xz
Wired up receiving updates, with update packet sent from BGP to Routing
engine. Wired up Routing engine side of sending update packets to BGP engine with flow control. Eliminated a lot of compilation errors and warnings although a few remain. Have skipped out now unused code, particularly in bgp_packet.c that will be deleted eventually.
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r--bgpd/bgp_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index 9267eebd..d86ddfc7 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -280,14 +280,14 @@ bgp_notify_print(struct peer *peer, struct bgp_notify *bgp_notify,
peer->host, bgp_notify->code, bgp_notify->subcode,
LOOKUP (bgp_notify_msg, bgp_notify->code),
subcode_str, bgp_notify->length,
- bgp_notify->data ? bgp_notify->data : "");
+ bgp_notify->size ? bgp_notify->data : "");
else if (BGP_DEBUG (normal, NORMAL))
plog_debug (peer->log, "%s %s NOTIFICATION %d/%d (%s%s) %d bytes %s",
peer ? peer->host : "",
direct, bgp_notify->code, bgp_notify->subcode,
LOOKUP (bgp_notify_msg, bgp_notify->code),
subcode_str, bgp_notify->length,
- bgp_notify->data ? bgp_notify->data : "");
+ bgp_notify->size ? bgp_notify->data : "");
}
/* Debug option setting interface. */