diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-04-04 14:23:28 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-04-04 14:23:28 -0700 |
commit | 34d31abfb94afe4c9e71292bf207302d5fae71ea (patch) | |
tree | 03d4d4a09b1441d239c44f9772d70ebfc25f6989 /templates/protocols/static/route6/node.def | |
parent | 30e1432faf2dfd1ec3ab78479355e08b262521e2 (diff) | |
download | vyatta-cfg-quagga-34d31abfb94afe4c9e71292bf207302d5fae71ea.tar.gz vyatta-cfg-quagga-34d31abfb94afe4c9e71292bf207302d5fae71ea.zip |
Move "commit" check out of invalid node.tag/node.def.
Diffstat (limited to 'templates/protocols/static/route6/node.def')
-rw-r--r-- | templates/protocols/static/route6/node.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/protocols/static/route6/node.def b/templates/protocols/static/route6/node.def index 0be98812..d33d73ea 100644 --- a/templates/protocols/static/route6/node.def +++ b/templates/protocols/static/route6/node.def @@ -2,3 +2,6 @@ tag: type: ipv6net help: Set a static IPv6 route syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" + +commit:expression: $VAR(./next-hop/) != "" || $VAR(./blackhole/) != ""; \ + "Must add either a next-hop or blackhole for route $VAR(@)" |