summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf
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/ospf
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/ospf')
-rw-r--r--templates/protocols/ospf/area/node.tag/network/node.def2
-rw-r--r--templates/protocols/ospf/area/node.tag/range/node.def2
-rw-r--r--templates/protocols/ospf/area/node.tag/range/node.tag/substitute/node.def2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/protocols/ospf/area/node.tag/network/node.def b/templates/protocols/ospf/area/node.tag/network/node.def
index 9422f008..ebf346db 100644
--- a/templates/protocols/ospf/area/node.tag/network/node.def
+++ b/templates/protocols/ospf/area/node.tag/network/node.def
@@ -1,7 +1,7 @@
multi:
type: ipv4net
help: OSPF network [REQUIRED]
-syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)"
+syntax:expression: exec "ipaddrcheck --verbose --is-ipv4-net $VAR(@)"
create:vtysh -c "configure terminal" \
-c "router ospf" -c "network $VAR(@) area $VAR(../@)"
delete:vtysh -c "configure terminal" \
diff --git a/templates/protocols/ospf/area/node.tag/range/node.def b/templates/protocols/ospf/area/node.tag/range/node.def
index 94a90ed3..d29b775f 100644
--- a/templates/protocols/ospf/area/node.tag/range/node.def
+++ b/templates/protocols/ospf/area/node.tag/range/node.def
@@ -1,7 +1,7 @@
tag:
type: ipv4net
help: Summarize routes matching prefix (border routers only)
-syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)"
+syntax:expression: exec "ipaddrcheck --verbose --is-ipv4-net $VAR(@)"
delete: touch /tmp/ospf-range.$PPID
diff --git a/templates/protocols/ospf/area/node.tag/range/node.tag/substitute/node.def b/templates/protocols/ospf/area/node.tag/range/node.tag/substitute/node.def
index f3a8e64d..b5ebba1d 100644
--- a/templates/protocols/ospf/area/node.tag/range/node.tag/substitute/node.def
+++ b/templates/protocols/ospf/area/node.tag/range/node.tag/substitute/node.def
@@ -1,3 +1,3 @@
type: ipv4net
help: Announce area range as another prefix
-syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)"
+syntax:expression: exec "ipaddrcheck --verbose --is-ipv4-net $VAR(@)"