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/rip/network/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/protocols/rip/network/node.def') diff --git a/templates/protocols/rip/network/node.def b/templates/protocols/rip/network/node.def index 28f92307..59af0bd8 100644 --- a/templates/protocols/rip/network/node.def +++ b/templates/protocols/rip/network/node.def @@ -1,7 +1,7 @@ multi: type: ipv4net help: RIP network -syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" +syntax:expression: exec "ipaddrcheck --verbose --is-ipv4-net $VAR(@)" create:expression: "vtysh -c \"configure terminal\" -c \"router rip\" \ -c \"network $VAR(@)\"; " delete:expression: "vtysh -c \"configure terminal\" -c \"router rip\" \ -- cgit v1.2.3