diff options
Diffstat (limited to 'templates/protocols/rip/distribute-list/prefix-list/in/node.def')
-rw-r--r-- | templates/protocols/rip/distribute-list/prefix-list/in/node.def | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/protocols/rip/distribute-list/prefix-list/in/node.def b/templates/protocols/rip/distribute-list/prefix-list/in/node.def index 2a79d94e..c4966d6f 100644 --- a/templates/protocols/rip/distribute-list/prefix-list/in/node.def +++ b/templates/protocols/rip/distribute-list/prefix-list/in/node.def @@ -1,8 +1,8 @@ type: txt -help: "prefix-list to apply to input packets" -commit: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy prefix-list $(@)\" ";"prefix-list $(@) doesn't exist" -update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \ - -c \"distribute-list prefix $(@) in\" " -delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \ - -c \"no distribute-list prefix $(@) in\" " +help: prefix-list to apply to input packets +commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy prefix-list $VAR(@)\" ";"prefix-list $VAR(@) doesn't exist" +update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \ + -c \"distribute-list prefix $VAR(@) in\" " +delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \ + -c \"no distribute-list prefix $VAR(@) in\" " |