summaryrefslogtreecommitdiff
path: root/templates/protocols/static/route6
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/static/route6')
-rw-r--r--templates/protocols/static/route6/node.def3
-rw-r--r--templates/protocols/static/route6/node.tag/node.def2
2 files changed, 4 insertions, 1 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(@)"
diff --git a/templates/protocols/static/route6/node.tag/node.def b/templates/protocols/static/route6/node.tag/node.def
index 7e15c498..ecc2c12f 100644
--- a/templates/protocols/static/route6/node.tag/node.def
+++ b/templates/protocols/static/route6/node.tag/node.def
@@ -1,3 +1,3 @@
help: Set IP network
-commit:expression: $VAR(./next-hop/) != "" || $VAR(./blackhole/) != ""; "Must add either a next-hop or blackhole for route $VAR(@)"
+