summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-11 19:42:28 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-11 19:42:28 +0000
commitfcc9cf7db4360a34e0734c6dbd2cfecbfc32fc50 (patch)
tree3594b526e4e2fbbe7b79256944cda80718877aee /usr.sbin/bgpd/bgpd.h
parentbabbc9dfc44e7a7eb5f0854251a1f02a15c3d77c (diff)
when sending the nexthop status message, include the kroute that makes that
nexthop reachable. needed in the RDE for calculating the to-be-announced nexthop. ok claudio@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 5a1fcc7db06..70f10248857 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.63 2004/01/11 19:14:43 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.64 2004/01/11 19:42:27 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -208,6 +208,7 @@ struct kroute_nexthop {
u_int8_t valid;
u_int8_t connected;
struct bgpd_addr gateway;
+ struct kroute kr;
};
struct ctl_show_nexthop {