summaryrefslogtreecommitdiffstats
path: root/zebra/rt.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rt.h')
-rw-r--r--zebra/rt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index bc91edd80..2c77af2aa 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -35,6 +35,9 @@
extern "C" {
#endif
+#define RSYSTEM_ROUTE(type) \
+ ((type) == ZEBRA_ROUTE_KERNEL || (type) == ZEBRA_ROUTE_CONNECT)
+
/*
* Update or delete a route, LSP, or pseudowire from the kernel,
* using info from a dataplane context.