diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-07-20 15:03:17 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-07-20 15:03:17 +0000 |
commit | 7b4a6451f38153833bb1bf7ea19900410574cc1e (patch) | |
tree | f6d2159ad68fd398af251dffc13cc6b65e1c823f /usr.sbin/bgpd/bgpd.h | |
parent | ac20646f75063a3e8ab7ab8b8a7365c4a3d6b4d8 (diff) |
Include more info in the bgpctl show nexthop ctl message. Mainly add the
gateway used for non-connected routes. This info was missing all the time
and often resulted in massive confusion when the nexthop selection choosed
a bad nexthop.
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index a8dbaa4c535..7c0da04b9dc 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.241 2009/06/12 16:42:53 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.242 2009/07/20 15:03:16 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -437,8 +437,10 @@ struct pftable_msg { struct ctl_show_nexthop { struct bgpd_addr addr; - u_int8_t valid; + struct bgpd_addr gateway; struct kif kif; + u_int8_t valid; + u_int8_t connected; }; struct ctl_neighbor { |