summaryrefslogtreecommitdiff
path: root/templates/interfaces/tunnel
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-04-15 22:00:30 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-04-15 22:00:30 +0000
commitead9e7014c6d3d6c578663dc3656dac7249977bf (patch)
tree4e4b300d5c2cef87d91eea6907be70f2e0bf2be5 /templates/interfaces/tunnel
parent40d23b3d1b2c6ae348059bf996b20a10480f1b1e (diff)
downloadvyatta-cfg-quagga-ead9e7014c6d3d6c578663dc3656dac7249977bf.tar.gz
vyatta-cfg-quagga-ead9e7014c6d3d6c578663dc3656dac7249977bf.zip
Fix Bug 2849 "disable-split-horizon" needs to be implemented
-implemented 'split-horizon disable' for all interfaces that allow configuring RIP
Diffstat (limited to 'templates/interfaces/tunnel')
-rw-r--r--templates/interfaces/tunnel/node.tag/ip/rip/split-horizon/poison-reverse/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/interfaces/tunnel/node.tag/ip/rip/split-horizon/poison-reverse/node.def b/templates/interfaces/tunnel/node.tag/ip/rip/split-horizon/poison-reverse/node.def
index d692e091..60b45d60 100644
--- a/templates/interfaces/tunnel/node.tag/ip/rip/split-horizon/poison-reverse/node.def
+++ b/templates/interfaces/tunnel/node.tag/ip/rip/split-horizon/poison-reverse/node.def
@@ -9,3 +9,4 @@ delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"interface $VAR(../../../../@) \" \
-c \"no ip rip split-horizon \" \
-c \"ip rip split-horizon \" "
+commit:expression: ($VAR(../disable/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for tunnel interface $VAR(../../../../@)"