Fix drace CTF for the rib_head.
33cb3cb2e3
introduced an `rib_head` structure field under the
FIB_ALGO define. This may be problematic for the CTF, as some
of the files including `route_var.h` do not have `fib_algo`
defined.
Make dtrace happy by making the field unconditional.
Suggested by: markj
This commit is contained in:
parent
0cd4b781a6
commit
bc5ef45aec
@ -71,9 +71,7 @@ struct rib_head {
|
||||
struct callout expire_callout; /* Callout for expiring dynamic routes */
|
||||
time_t next_expire; /* Next expire run ts */
|
||||
uint32_t rnh_prefixes; /* Number of prefixes */
|
||||
#ifdef FIB_ALGO
|
||||
rt_gen_t rnh_gen_rib; /* rib generation counter */
|
||||
#endif
|
||||
rt_gen_t rnh_gen_rib; /* fib algo: rib generation counter */
|
||||
uint32_t rib_dying:1; /* rib is detaching */
|
||||
uint32_t rib_algo_fixed:1;/* fixed algorithm */
|
||||
struct nh_control *nh_control; /* nexthop subsystem data */
|
||||
|
Loading…
Reference in New Issue
Block a user