diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-02-27 20:53:57 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-02-27 20:53:57 +0000 |
commit | c2cf121f1d2db9820dbc07b7c2936029064e98ae (patch) | |
tree | 79b2de76a41864d290666509107d0faf22309985 /usr.sbin/bgpd/rde.h | |
parent | fbea016b8a23b0518ceb0afcad616a711fa34a24 (diff) |
remove unneded peer pointer in struct prefix and change a in_addr_t to
struct in_addr. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index 7c2b2f0599f..249eb17515e 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.31 2004/02/26 16:16:41 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.32 2004/02/27 20:53:56 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and @@ -134,7 +134,7 @@ TAILQ_HEAD(attr_list, attr); struct attr_flags { struct aspath *aspath; - in_addr_t nexthop; /* exit nexthop */ + struct in_addr nexthop; /* exit nexthop */ u_int32_t med; /* multi exit disc */ u_int32_t lpref; /* local pref */ u_int8_t origin; @@ -189,7 +189,7 @@ struct pt_entry { LIST_ENTRY(pt_entry) pt_l; /* currently we are using a hash list for prefixes */ struct bgpd_addr prefix; - int prefixlen; + u_int8_t prefixlen; struct prefix_head prefix_h; struct prefix *active; /* for fast access */ /* |