summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-06-14 17:08:57 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-06-14 17:08:57 +0000
commit5557950a35f921083f934651de5938568b91bdc0 (patch)
tree369f58026537e6650c917a49cc5e6ab4d2e34c77 /usr.sbin/bgpd/bgpd.h
parent9bd6c0718d0412569b861658965b1ffd3896d9e3 (diff)
Send bot nexthops (exit and true) in the bgpctl show rib cases. bgpctl
can than select which nexthop should be printed. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index c6d8e566d8d..3cff62feb6e 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.201 2006/05/27 21:24:36 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.202 2006/06/14 17:08:56 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -469,7 +469,8 @@ struct kroute6_label {
#define F_RIB_ANNOUNCE 0x08
struct ctl_show_rib {
- struct bgpd_addr nexthop;
+ struct bgpd_addr true_nexthop;
+ struct bgpd_addr exit_nexthop;
struct bgpd_addr prefix;
struct bgpd_addr remote_addr;
char descr[PEER_DESCR_LEN];