diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-09-19 11:18:12 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-09-19 11:18:12 +0000 |
commit | 88e4b7862b7aa71e1be63dfb422bdd50e99fa6a4 (patch) | |
tree | 013d3fc5fd2eddaac11a1ae407f9579925e2b3bc /usr.sbin/bgpd/bgpd.h | |
parent | 66bf2f26af2c0c8cc9eb1383e9d0e7eed9f9f4cc (diff) |
remove an unused ctl struct and remove some unneeded values from
struct ctl_show_rib since bgpctl does not look at them at all.
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index c35a9ccd97e..1626f0aca12 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.265 2011/09/18 09:31:25 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.266 2011/09/19 11:18:11 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -556,9 +556,6 @@ struct ctl_show_rib { u_int32_t remote_id; u_int32_t local_pref; u_int32_t med; - u_int32_t prefix_cnt; - u_int32_t active_cnt; - u_int32_t rib_cnt; u_int16_t aspath_len; u_int16_t flags; u_int8_t prefixlen; @@ -566,13 +563,6 @@ struct ctl_show_rib { /* plus a aspath_len bytes long aspath */ }; -struct ctl_show_rib_prefix { - struct bgpd_addr prefix; - time_t lastchange; - u_int16_t flags; - u_int8_t prefixlen; -}; - enum as_spec { AS_NONE, AS_ALL, |