diff options
Diffstat (limited to 'zebra/rt.h')
| -rw-r--r-- | zebra/rt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zebra/rt.h b/zebra/rt.h index 08b51fcc0b..04576671fe 100644 --- a/zebra/rt.h +++ b/zebra/rt.h @@ -35,8 +35,10 @@ extern "C" { #endif -#define RSYSTEM_ROUTE(type) \ - ((type) == ZEBRA_ROUTE_KERNEL || (type) == ZEBRA_ROUTE_CONNECT) +#define RKERNEL_ROUTE(type) ((type) == ZEBRA_ROUTE_KERNEL) + +#define RSYSTEM_ROUTE(type) \ + ((RKERNEL_ROUTE(type)) || (type) == ZEBRA_ROUTE_CONNECT) /* * Update or delete a route, LSP, or pseudowire from the kernel, |
