From 6e726b4922d7d677aebbb23a6eb745fba8d2a348 Mon Sep 17 00:00:00 2001 From: melifaro Date: Wed, 8 Jan 2014 23:09:02 +0000 Subject: Constanly use RT_ALL_FIBS everywhere instead of -1. MFC after: 2 weeks --- sys/net/route.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/net/route.h') 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. */ -- cgit v1.1