summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces/ethernet')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def
index af2f0c0a..760395cc 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def
@@ -1,12 +1,12 @@
help: Disable split horizon on specified interface
create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../@).$VAR(../../../../@) \" \
-c \"no ip rip split-horizon \" "
delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../@).$VAR(../../../../@) \" \
-c \"ip rip split-horizon \" "
commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet Virtual InterFace $VAR(../../../../@)"