diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2023-04-14 17:17:27 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-09 13:54:46 +0000 |
| commit | 37d5dc445d37df94e6a92495658ce9fffaaa3b76 (patch) | |
| tree | cd6912c814ce5eaf503e2a6adc745400f4793c81 /pimd/pim_cmd.c | |
| parent | fb66adb6807690e14f6afe01611f24d76f751234 (diff) | |
pimd: fix dr-priority range
0 is a valid DR priority.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit b564c1d890aef75067db22df09e608faf72b99f5)
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index be36a07687..c3528e2753 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -3953,7 +3953,7 @@ DEFUN (interface_no_ip_igmp_last_member_query_interval, DEFUN (interface_ip_pim_drprio, interface_ip_pim_drprio_cmd, - "ip pim drpriority (1-4294967295)", + "ip pim drpriority (0-4294967295)", IP_STR PIM_STR "Set the Designated Router Election Priority\n" @@ -3966,7 +3966,7 @@ DEFUN (interface_ip_pim_drprio, DEFUN (interface_no_ip_pim_drprio, interface_no_ip_pim_drprio_cmd, - "no ip pim drpriority [(1-4294967295)]", + "no ip pim drpriority [(0-4294967295)]", NO_STR IP_STR PIM_STR |
