diff options
author | melifaro <melifaro@FreeBSD.org> | 2014-01-08 23:09:02 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2014-01-08 23:09:02 +0000 |
commit | 6e726b4922d7d677aebbb23a6eb745fba8d2a348 (patch) | |
tree | 5a690d3939005219a3f9bbe5ccd1e0bf6cb0c4f7 /sys/net/route.h | |
parent | 3244f6064b0b506d4480b81e64dea620363457e4 (diff) | |
download | FreeBSD-src-6e726b4922d7d677aebbb23a6eb745fba8d2a348.zip FreeBSD-src-6e726b4922d7d677aebbb23a6eb745fba8d2a348.tar.gz |
Constanly use RT_ALL_FIBS everywhere instead of -1.
MFC after: 2 weeks
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 02d0ae9..8ff8a21 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -92,7 +92,8 @@ struct rt_metrics { #define RTTTOPRHZ(r) ((r) / (RTM_RTTUNIT / PR_SLOWHZ)) #define RT_DEFAULT_FIB 0 /* Explicitly mark fib=0 restricted cases */ -extern u_int rt_numfibs; /* number fo usable routing tables */ +#define RT_ALL_FIBS -1 /* Announce event for every fib */ +extern u_int rt_numfibs; /* number of usable routing tables */ /* * XXX kernel function pointer `rt_output' is visible to applications. */ |