From fe181e7c63843ad65401cc1e400ae1ac3187122f Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 11 Nov 2010 12:24:27 +0100 Subject: Adds support for iface link check to static protocol. --- proto/static/static.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'proto/static/static.h') diff --git a/proto/static/static.h b/proto/static/static.h index 5d2bd21..40da74c 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 { -- cgit v1.2.3