summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/protocols/ospf/route-map/node.def7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/protocols/ospf/route-map/node.def b/templates/protocols/ospf/route-map/node.def
index 631eec22..114cb80a 100644
--- a/templates/protocols/ospf/route-map/node.def
+++ b/templates/protocols/ospf/route-map/node.def
@@ -1,6 +1,7 @@
type: txt
help: Filter routes installed in local route map
commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy route-map $VAR(@)\" ";"route-map $VAR(@) doesn't exist"
-end: vtysh -c "configure terminal" \
- -c "no ip protocol ospf" \
- -c "ip protocol ospf route-map $VAR(@)"
+create:expression: "vtysh -c \"configure terminal\" \
+ -c \"ip protocol ospf route-map $VAR(@)\" \
+delete:expression: "vtysh -c \"configure terminal\" \
+ -c \"no ip protocol ospf\" \