summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/rde_rib.c')
-rw-r--r--usr.sbin/bgpd/rde_rib.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c
index b7115a2c6e0..bdb690159b1 100644
--- a/usr.sbin/bgpd/rde_rib.c
+++ b/usr.sbin/bgpd/rde_rib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_rib.c,v 1.9 2003/12/26 18:07:33 henning Exp $ */
+/* $OpenBSD: rde_rib.c,v 1.10 2003/12/26 21:30:20 henning Exp $ */
/*
* Copyright (c) 2003 Claudio Jeker <claudio@openbsd.org>
@@ -899,18 +899,6 @@ static void nexthop_free(struct nexthop *);
* may be passed to the external neighbor if the neighbor and the exit nexthop
* reside in the same subnet -- directly connected.
*/
-struct nexthop {
- LIST_ENTRY(nexthop) nexthop_l;
- enum nexthop_state state;
-#if 0
- u_int32_t costs;
-#endif
- struct aspath_head path_h;
- struct in_addr exit_nexthop;
- struct in_addr true_nexthop;
- u_int8_t connected;
-};
-
struct nexthop_table {
LIST_HEAD(, nexthop) *nexthop_hashtbl;
u_long nexthop_hashmask;