summaryrefslogtreecommitdiff
path: root/templates/protocols/static/route
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-13 21:20:23 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-13 21:21:43 +0100
commit41690fd4eeb365131da537f24cbc1904867b1d41 (patch)
tree2bec7a6aafcf77767b4b19d0a3530234f1c07068 /templates/protocols/static/route
parent017493c2e93d04a52b5f0825bb8f8582111c49bb (diff)
downloadvyatta-cfg-quagga-41690fd4eeb365131da537f24cbc1904867b1d41.tar.gz
vyatta-cfg-quagga-41690fd4eeb365131da537f24cbc1904867b1d41.zip
T1006: replace all occurences of check_prefix_boundary with ipaddrcheck.
Diffstat (limited to 'templates/protocols/static/route')
-rw-r--r--templates/protocols/static/route/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/static/route/node.def b/templates/protocols/static/route/node.def
index e46227e5..0d17bb4b 100644
--- a/templates/protocols/static/route/node.def
+++ b/templates/protocols/static/route/node.def
@@ -2,7 +2,7 @@ tag:
priority: 482
type: ipv4net
help: 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/) != "" || $VAR(./blackhole/) != "" || $VAR(./dhcp-interface/) != ""; \
"Must add either a next-hop or blackhole or dhcp-interface for route $VAR(@)"