Rather than putting magic 0s as FIB argument into the rt* calls, provide
a macro RT_DEFAULT_FIB defined to 0 to more easily identify the cases tied to the default FIB. Sponsored by: Cisco Systems, Inc.
This commit is contained in:
parent
5490110cf5
commit
556d81ddd7
@ -111,6 +111,7 @@ struct rt_metrics {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define RT_DEFAULT_FIB 0 /* Explicitly mark fib=0 restricted cases */
|
||||
extern u_int rt_numfibs; /* number fo usable routing tables */
|
||||
/*
|
||||
* XXX kernel function pointer `rt_output' is visible to applications.
|
||||
|
Loading…
Reference in New Issue
Block a user