diff options
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 12 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
2 files changed, 2 insertions, 14 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, diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 5efa9bef765..be5e4f91750 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.309 2011/09/17 16:29:44 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.310 2011/09/19 11:18:11 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -2086,8 +2086,6 @@ rde_dump_rib_as(struct prefix *p, struct rde_aspath *asp, pid_t pid, int flags) rib.lastchange = p->lastchange; rib.local_pref = asp->lpref; rib.med = asp->med; - rib.prefix_cnt = asp->prefix_cnt; - rib.active_cnt = asp->active_cnt; strlcpy(rib.descr, asp->peer->conf.descr, sizeof(rib.descr)); memcpy(&rib.remote_addr, &asp->peer->remote_addr, sizeof(rib.remote_addr)); |