From 41690fd4eeb365131da537f24cbc1904867b1d41 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 13 Nov 2018 21:20:23 +0100 Subject: T1006: replace all occurences of check_prefix_boundary with ipaddrcheck. --- templates/protocols/static/route/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/protocols/static/route') 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(@)" -- cgit v1.2.3