summaryrefslogtreecommitdiff
path: root/templates/protocols/static/interface-route6/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/static/interface-route6/node.def')
-rw-r--r--templates/protocols/static/interface-route6/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/protocols/static/interface-route6/node.def b/templates/protocols/static/interface-route6/node.def
index 4048960a..e00a8b3b 100644
--- a/templates/protocols/static/interface-route6/node.def
+++ b/templates/protocols/static/interface-route6/node.def
@@ -2,3 +2,6 @@ tag:
type: ipv6net
help: Set an interface-based IPv6 static route
syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)"
+
+commit:expression: $VAR(./next-hop-interface/) != "" ; \
+ "Must add a next-hop-interface for route $VAR(@)"