From e0471ad3e2144d3f99437a624344f2760195d89c Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 28 Jul 2008 12:47:47 -0700 Subject: Add new program to check prefix boundary Using perl to check prefix boundary, is slow because of the overhead of compiling the same script many times. So convert this simple task to a C program. --- templates/protocols/static/interface-route/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/protocols/static/interface-route') diff --git a/templates/protocols/static/interface-route/node.def b/templates/protocols/static/interface-route/node.def index 0e732ea9..5317a93c 100644 --- a/templates/protocols/static/interface-route/node.def +++ b/templates/protocols/static/interface-route/node.def @@ -1,4 +1,4 @@ tag: type: ipv4net help: Set an interface-based static route -syntax:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $VAR(@)" +syntax:expression: exec "${sbin_dir}/check_prefix_boundary $VAR(@)" -- cgit v1.2.3