summaryrefslogtreecommitdiff
path: root/proto/static/static.h
diff options
context:
space:
mode:
Diffstat (limited to 'proto/static/static.h')
-rw-r--r--proto/static/static.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/proto/static/static.h b/proto/static/static.h
index 5d2bd218..40da74c9 100644
--- a/proto/static/static.h
+++ b/proto/static/static.h
@@ -11,10 +11,14 @@
struct static_config {
struct proto_config c;
- list iface_routes; /* Routes to search on interface events */
- list other_routes; /* Routes hooked to neighbor cache and reject routes */
+ list iface_routes; /* Routes to search on interface events */
+ list other_routes; /* Routes hooked to neighbor cache and reject routes */
+ int check; /* Condition for route install */
};
+#define STATIC_CHECK_NONE 0
+#define STATIC_CHECK_LINK 1
+
void static_init_config(struct static_config *);
struct static_route {