Specific IP address and network rules are now checked before the main table lookup as the main table
often holds a default route. As a result the IP address and network rules pointing to a specific
routing table will not be checked anymore; by reversing the order the specific routing tables
are checked first if the ip rule matches.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
#include "interface-ip.h"
-#define IPRULE_PRIORITY_ADDR 80000
-#define IPRULE_PRIORITY_NW 90000
+#define IPRULE_PRIORITY_ADDR 10000
+#define IPRULE_PRIORITY_NW 20000
#define IPRULE_PRIORITY_REJECT 4200000000
enum iprule_flags {