diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-04-08 15:10:57 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-04-08 15:11:21 +0200 |
commit | e90dd656cc9126e1fbcc45fb77a10bf1baa2a1b5 (patch) | |
tree | 5383de73050fdc1d3c87b3c28b218126bb4d2244 /nest/config.Y | |
parent | f2ae2badff37c008ba8217a12f8ee6dc6a3c5a39 (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.Y | 1 |
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: |