diff options
author | Daniil Baturin <daniil@baturin.org> | 2016-12-21 19:42:44 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2016-12-21 19:48:45 +0100 |
commit | 720604bd3cef4cb94e25af9bf37aa9e758c2b172 (patch) | |
tree | 73a072490a3f1a16bb5b806b364fd630c4cf5175 | |
parent | 8aaed6ba24b84801352bdec17de4af052793043e (diff) | |
download | vyatta-cfg-quagga-720604bd3cef4cb94e25af9bf37aa9e758c2b172.tar.gz vyatta-cfg-quagga-720604bd3cef4cb94e25af9bf37aa9e758c2b172.zip |
T194: fix protocols/static/route template
For tag nodes, tag: must be the first statement in the template,
don't ask me why. Maybe we should change it in the parser.
-rw-r--r-- | templates/protocols/static/route/node.def | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/protocols/static/route/node.def b/templates/protocols/static/route/node.def index 83645d2a..e46227e5 100644 --- a/templates/protocols/static/route/node.def +++ b/templates/protocols/static/route/node.def @@ -1,10 +1,8 @@ -priority: 482 tag: +priority: 482 type: ipv4net help: Static route syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" commit:expression: $VAR(./next-hop/) != "" || $VAR(./blackhole/) != "" || $VAR(./dhcp-interface/) != ""; \ "Must add either a next-hop or blackhole or dhcp-interface for route $VAR(@)" -commit:expression: $VAR(./next-hop/) == "" || $VAR(./dhcp-interface/) == ""; \ - "Must configure only one of next-hop or dhcp-interface for route $VAR(@)" |