summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interface-templates/ip/rip/split-horizon/disable/node.def8
1 files changed, 6 insertions, 2 deletions
diff --git a/interface-templates/ip/rip/split-horizon/disable/node.def b/interface-templates/ip/rip/split-horizon/disable/node.def
index 10c57ba4..55e8a0d1 100644
--- a/interface-templates/ip/rip/split-horizon/disable/node.def
+++ b/interface-templates/ip/rip/split-horizon/disable/node.def
@@ -1,6 +1,10 @@
help: Disable split horizon on specified interface
-create:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ip rip split-horizon "
-delete:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ip rip split-horizon " "
+create:vyatta-vtysh \
+ -c "configure terminal" -c "interface $IFNAME" \
+ -c "no ip rip split-horizon"
+delete:vyatta-vtysh \
+ -c "configure terminal" -c "interface $IFNAME" \
+ -c "ip rip split-horizon"
commit:expression: ($VAR(../poison-reverse/) == ""); \
"You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for $IFNAME"