[prev in list] [next in list] [prev in thread] [next in thread]
List: quagga-dev
Subject: [quagga-dev 12119] [PATCH 1/4] bgpd: Configured suppress value cannot be less than the reuse value i
From: "Balaji.G" <balajig81 () gmail ! com>
Date: 2015-03-16 17:58:35
Message-ID: 1426528529-32101-1-git-send-email-balajig81 () gmail ! com
[Download RAW message or body]
Signed-off-by: Balaji.G <balajig81@gmail.com>
---
bgpd/bgp_route.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index e7357e5..77ee1c2 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -11976,6 +11976,13 @@ DEFUN (bgp_damp_set,
}
bgp = vty->index;
+
+ if (suppress < reuse)
+ {
+ vty_out (vty,"Suppress value cannot be less than reuse value %s", VTY_NEWLINE);
+ return 0;
+ }
+
return bgp_damp_enable (bgp, bgp_node_afi (vty), bgp_node_safi (vty),
half, reuse, suppress, max);
}
--
1.9.1
_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic