summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 0aa56bd147c..db7aa6d758a 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.25 2003/12/24 13:49:21 henning Exp $ */
+/* $OpenBSD: rde.c,v 1.26 2003/12/24 19:59:24 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -42,8 +42,6 @@ void init_attr_flags(struct attr_flags *);
int rde_update_get_attr(u_char *, u_int16_t, struct attr_flags *);
void rde_update_err(u_int32_t, enum suberr_update);
-void rde_dump_kroute(struct pt_entry *pt, void *ptr);
-
void peer_init(struct bgpd_config *, u_long);
struct rde_peer *peer_add(u_int32_t, struct peer_config *);
void peer_remove(struct rde_peer *);
@@ -255,7 +253,6 @@ rde_dispatch_imsg(struct imsgbuf *ibuf, int idx)
imsg.hdr.peerid, NULL, 0);
break;
case IMSG_SHUTDOWN_REQUEST:
- pt_dump(rde_dump_kroute, NULL);
imsg_compose(&ibuf_main, IMSG_SHUTDOWN_DONE, 0,
NULL, 0);
break;
@@ -540,14 +537,6 @@ rde_send_kroute(struct prefix *new, struct prefix *old)
imsg_compose(&ibuf_main, type, 0, &kr, sizeof(kr));
}
-void
-rde_dump_kroute(struct pt_entry *pt, void *ptr)
-{
- if (pt->active == NULL)
- return;
- rde_send_kroute(NULL, pt->active);
-}
-
/*
* peer functions
*/