Signed-off-by: Balaji.G <[email protected]>
---
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
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev