summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-08-28 05:28:50 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-08-28 05:28:50 +0000
commitb8314653d37dd6a74d00fd959cb9631fd453bc15 (patch)
tree239d3450ebb1eb7e5ed86c8056760f9c66c4f92d
parent0924fb0e24c066eef12650a1055e0ace92c1bcaa (diff)
indicate when the peer announced the Graceful Restart capability, ok claudio
-rw-r--r--usr.sbin/bgpctl/bgpctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index 0a9bbe30946..e0d84f573ef 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.109 2006/08/23 08:21:11 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.110 2006/08/28 05:28:49 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -521,6 +521,8 @@ show_neighbor_msg(struct imsg *imsg, enum neighbor_views nv)
}
if (p->capa.peer.refresh)
printf(" Route Refresh\n");
+ if (p->capa.peer.restart)
+ printf(" Graceful Restart\n");
}
printf("\n");
switch (nv) {