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 <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-03-06 18:34:34 +00:00
parent a90edf08e3
commit d7cfcdc0b0

View File

@ -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