summaryrefslogtreecommitdiff
path: root/templates/protocols/static/interface-route/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/static/interface-route/node.def')
-rw-r--r--templates/protocols/static/interface-route/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/static/interface-route/node.def b/templates/protocols/static/interface-route/node.def
index 73dd97a3..2b9d75ad 100644
--- a/templates/protocols/static/interface-route/node.def
+++ b/templates/protocols/static/interface-route/node.def
@@ -1,7 +1,7 @@
tag:
type: ipv4net
help: Interface based static route
-syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)"
+syntax:expression: exec "ipaddrcheck --verbose --is-ipv4-net $VAR(@)"
commit:expression: $VAR(./next-hop-interface/) != "" ; \
"Must add a next-hop-interface for route $VAR(@)"