summaryrefslogtreecommitdiff
path: root/nest/config.Y
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-04-08 15:10:57 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-04-08 15:11:21 +0200
commite90dd656cc9126e1fbcc45fb77a10bf1baa2a1b5 (patch)
tree5383de73050fdc1d3c87b3c28b218126bb4d2244 /nest/config.Y
parentf2ae2badff37c008ba8217a12f8ee6dc6a3c5a39 (diff)
Direct: Implement check link for direct protocol
When enabled, direct protocol generates routes only if the underlying link state is up.
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 87827c10..4566971f 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -335,6 +335,7 @@ dev_proto:
dev_proto_start proto_name '{'
| dev_proto proto_item ';'
| dev_proto dev_iface_patt ';'
+ | dev_proto CHECK LINK bool ';' { DIRECT_CFG->check_link = $4; }
;
dev_iface_init: