summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/bgpctl.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-05-23 12:14:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-05-23 12:14:35 +0000
commit135258a79e78cbae288a7817884b5b7578180dc1 (patch)
treeeb1a0c82610248f1737fe89a4f56fa4bf8c47ab2 /usr.sbin/bgpctl/bgpctl.c
parent3430a613b0777f27be2c5d1b53731fd0410160b8 (diff)
support requesting route refresh from a neighbor
Diffstat (limited to 'usr.sbin/bgpctl/bgpctl.c')
-rw-r--r--usr.sbin/bgpctl/bgpctl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index 6d55e0be7ad..d9405b33100 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.103 2006/04/06 12:33:17 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.104 2006/05/23 12:14:34 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -248,6 +248,10 @@ main(int argc, char *argv[])
imsg_compose(ibuf, IMSG_CTL_NEIGHBOR_CLEAR, 0, 0, -1,
&neighbor, sizeof(neighbor));
break;
+ case NEIGHBOR_RREFRESH:
+ imsg_compose(ibuf, IMSG_CTL_NEIGHBOR_RREFRESH, 0, 0, -1,
+ &neighbor, sizeof(neighbor));
+ break;
case NETWORK_ADD:
case NETWORK_REMOVE:
bzero(&net, sizeof(net));
@@ -340,6 +344,7 @@ main(int argc, char *argv[])
case NEIGHBOR_UP:
case NEIGHBOR_DOWN:
case NEIGHBOR_CLEAR:
+ case NEIGHBOR_RREFRESH:
case NONE:
case RELOAD:
case FIB: