diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2012-09-18 10:10:01 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2012-09-18 10:10:01 +0000 |
commit | 048878ed0d3e7984cec43a31b65545160257fb34 (patch) | |
tree | 028ddcba988b0a2803b2bfb885b224b7ec59c976 /usr.sbin/bgpd/bgpd.h | |
parent | 5063b1deb803177e10f62e33626c3106151ad7e4 (diff) |
Expose the local weight in the ctl_show_rib struct so bgpctl can print it.
OK sthen@ henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index a188907850d..370b62ab320 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.272 2012/09/18 09:45:51 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.273 2012/09/18 10:10:00 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -580,6 +580,7 @@ struct ctl_show_rib { u_int32_t remote_id; u_int32_t local_pref; u_int32_t med; + u_int32_t weight; u_int16_t aspath_len; u_int16_t flags; u_int8_t prefixlen; |