summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2013-06-09 17:49:43 -0700
committerRobert Bays <robert@vyatta.com>2013-06-09 17:49:43 -0700
commitfb9526df9581779e4086a73740cf9cc4572faaa8 (patch)
treeb5f5b0c72135795da1259ecb5713aafb62b15b4e
parentac27af59640cc6d54bd5d7e4737f34e23d63f589 (diff)
downloadvyatta-cfg-quagga-fb9526df9581779e4086a73740cf9cc4572faaa8.tar.gz
vyatta-cfg-quagga-fb9526df9581779e4086a73740cf9cc4572faaa8.zip
fix bug 8988
-rw-r--r--templates/protocols/bgp/node.tag/parameters/dampening/node.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/protocols/bgp/node.tag/parameters/dampening/node.def b/templates/protocols/bgp/node.tag/parameters/dampening/node.def
index a2784816..5d2655a4 100644
--- a/templates/protocols/bgp/node.tag/parameters/dampening/node.def
+++ b/templates/protocols/bgp/node.tag/parameters/dampening/node.def
@@ -1,3 +1,7 @@
help: Enable route-flap dampening
# Note that there is a bug in quagga here. If bgpd gets two 'no bgp dampening'
# commands in a row it will crash
+
+commit:expression: $VAR(./half-life/) != "" || $VAR(./max-suppress-time/) != "" || \
+ $VAR(./re-use/) != "" || $VAR(./start-suppress-time/) != "" ; \
+ "To define dampening, all parameters must be set"