summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_vty.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2010-01-13 17:56:10 +0000
committerpaulo <paul@bayleaf.org.uk>2010-01-13 17:56:10 +0000
commit02e1b449d58345380db15b716391c20db55ed2d6 (patch)
tree0294e587a5fa352465c2cfb01f745b41ea40aac3 /bgpd/bgp_vty.c
parentff5b1c237fd67969ae5317763294bfbecaf655d0 (diff)
downloadquagga-02e1b449d58345380db15b716391c20db55ed2d6.tar.bz2
quagga-02e1b449d58345380db15b716391c20db55ed2d6.tar.xz
Knitting it all together. Still not got clean compile. Still lots of
TODOs.
Diffstat (limited to 'bgpd/bgp_vty.c')
-rw-r--r--bgpd/bgp_vty.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index fd7697ca..dfd9c316 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -7595,21 +7595,23 @@ bgp_show_peer (struct vty *vty, struct peer *p)
#endif /* HAVE_IPV6 */
}
- /* Timer information. */
+ /* TODO: Timer information. */
+#if 0
if (p->t_start)
vty_out (vty, "Next start timer due in %ld seconds%s",
thread_timer_remain_second (p->t_start), VTY_NEWLINE);
if (p->t_connect)
vty_out (vty, "Next connect timer due in %ld seconds%s",
thread_timer_remain_second (p->t_connect), VTY_NEWLINE);
+#endif
vty_out (vty, "Read thread: %s Write thread: %s%s",
p->t_read ? "on" : "off",
p->t_write ? "on" : "off",
VTY_NEWLINE);
- if (p->notify.code == BGP_NOTIFY_OPEN_ERR
- && p->notify.subcode == BGP_NOTIFY_OPEN_UNSUP_CAPBL)
+ if (p->notify->code == BGP_NOTIFY_OPEN_ERR
+ && p->notify->subcode == BGP_NOTIFY_OPEN_UNSUP_CAPBL)
bgp_capability_vty_out (vty, p);
vty_out (vty, "%s", VTY_NEWLINE);