diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-26 22:41:02 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-26 22:41:02 +0000 |
commit | d578327e7c891a81541e79b491e8b85fdd9fbe49 (patch) | |
tree | a9f6021a13a3a2b41df6725919437e4970c903c1 /usr.sbin/bgpd/rde.h | |
parent | 9c2ef8c102fc0af3c64645075803c73254270d08 (diff) |
"when you try to be very smart, something breaks horribly"
zap aspath->state, which was a copy of aspath->nexthop->state, for a tiny
little bit faster access. tho, it happened what had to happen, they ran
out of sync.
it's just not worth it.
also add a missinf LIST_INIT.
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index 1e24fb8c2d0..acb04e3cab1 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.8 2003/12/26 21:30:20 henning Exp $ */ +/* $OpenBSD: rde.h,v 1.9 2003/12/26 22:41:01 henning Exp $ */ /* * Copyright (c) 2003 Claudio Jeker <claudio@openbsd.org> and @@ -170,7 +170,6 @@ struct rde_aspath { * currently we use the boolean nexthop state, this could be exchanged * with a variable coast with a max for unreachable. */ - enum nexthop_state state; #if 0 u_int32_t nexthop_costs; #endif |