From d7cfcdc0b0a962cc81824197b6c5901438b2fd7f Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 6 Mar 2019 18:34:34 +0000 Subject: [PATCH] vrrpd: disallow setting priority = 255 Assuming we fix our automatic detection method in the future, we won't be able to revert this back to disallowing 255 without breaking user configs. Let's just disallow it now, there's no functional difference still. Signed-off-by: Quentin Young --- vrrpd/vrrp_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c index ec3a70dadb..0498d3c260 100644 --- a/vrrpd/vrrp_vty.c +++ b/vrrpd/vrrp_vty.c @@ -116,7 +116,7 @@ DEFPY(vrrp_shutdown, DEFPY(vrrp_priority, vrrp_priority_cmd, - "[no] vrrp (1-255)$vrid priority (1-255)", + "[no] vrrp (1-255)$vrid priority (1-254)", NO_STR VRRP_STR VRRP_VRID_STR -- 2.39.5