diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-11-13 21:20:23 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-11-13 21:21:43 +0100 |
commit | 41690fd4eeb365131da537f24cbc1904867b1d41 (patch) | |
tree | 2bec7a6aafcf77767b4b19d0a3530234f1c07068 /templates/protocols/static | |
parent | 017493c2e93d04a52b5f0825bb8f8582111c49bb (diff) | |
download | vyatta-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')
8 files changed, 8 insertions, 8 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(@)" diff --git a/templates/protocols/static/interface-route6/node.def b/templates/protocols/static/interface-route6/node.def index 0015e601..e823dbd6 100644 --- a/templates/protocols/static/interface-route6/node.def +++ b/templates/protocols/static/interface-route6/node.def @@ -1,7 +1,7 @@ tag: type: ipv6net help: Interface based IPv6 static route -syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" +syntax:expression: exec "ipaddrcheck --verbose --is-ipv6-net $VAR(@)" commit:expression: $VAR(./next-hop-interface/) != "" ; \ "Must add a next-hop-interface for route $VAR(@)" 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(@)" diff --git a/templates/protocols/static/route6/node.def b/templates/protocols/static/route6/node.def index de3f1cd8..597578a4 100644 --- a/templates/protocols/static/route6/node.def +++ b/templates/protocols/static/route6/node.def @@ -1,7 +1,7 @@ tag: type: ipv6net help: Static IPv6 route -syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" +syntax:expression: exec "ipaddrcheck --verbose --is-ipv6-net $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/table/node.tag/interface-route/node.def b/templates/protocols/static/table/node.tag/interface-route/node.def index 73dd97a3..2b9d75ad 100644 --- a/templates/protocols/static/table/node.tag/interface-route/node.def +++ b/templates/protocols/static/table/node.tag/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(@)" diff --git a/templates/protocols/static/table/node.tag/interface-route6/node.def b/templates/protocols/static/table/node.tag/interface-route6/node.def index 0015e601..e823dbd6 100644 --- a/templates/protocols/static/table/node.tag/interface-route6/node.def +++ b/templates/protocols/static/table/node.tag/interface-route6/node.def @@ -1,7 +1,7 @@ tag: type: ipv6net help: Interface based IPv6 static route -syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" +syntax:expression: exec "ipaddrcheck --verbose --is-ipv6-net $VAR(@)" commit:expression: $VAR(./next-hop-interface/) != "" ; \ "Must add a next-hop-interface for route $VAR(@)" diff --git a/templates/protocols/static/table/node.tag/route/node.def b/templates/protocols/static/table/node.tag/route/node.def index e86812db..85e75fe7 100644 --- a/templates/protocols/static/table/node.tag/route/node.def +++ b/templates/protocols/static/table/node.tag/route/node.def @@ -1,7 +1,7 @@ tag: 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(@)" diff --git a/templates/protocols/static/table/node.tag/route6/node.def b/templates/protocols/static/table/node.tag/route6/node.def index de3f1cd8..597578a4 100644 --- a/templates/protocols/static/table/node.tag/route6/node.def +++ b/templates/protocols/static/table/node.tag/route6/node.def @@ -1,7 +1,7 @@ tag: type: ipv6net help: Static IPv6 route -syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" +syntax:expression: exec "ipaddrcheck --verbose --is-ipv6-net $VAR(@)" commit:expression: $VAR(./next-hop/) != "" || $VAR(./blackhole/) != ""; \ "Must add either a next-hop or blackhole for route $VAR(@)" |