mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
pimd: Fix large integer display of drpriority
When displaying drpriority you can enter unsigned integer values from 1-2^32. The display was turning the unsigned value into a signed value and thus we were displaying the wrong value. Ticket: CM-13787 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: David Ahern <dsa@cumulusnetworks.com> (cherry picked from commit db17265f1025e3ec578998ad537c33b49ed33cde) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
0cad6e2653
commit
94d95cde35
@ -148,7 +148,7 @@ int pim_interface_config_write(struct vty *vty)
|
|||||||
|
|
||||||
/* IF ip pim drpriority */
|
/* IF ip pim drpriority */
|
||||||
if (pim_ifp->pim_dr_priority != PIM_DEFAULT_DR_PRIORITY) {
|
if (pim_ifp->pim_dr_priority != PIM_DEFAULT_DR_PRIORITY) {
|
||||||
vty_out(vty, " ip pim drpriority %d%s", pim_ifp->pim_dr_priority,
|
vty_out(vty, " ip pim drpriority %u%s", pim_ifp->pim_dr_priority,
|
||||||
VTY_NEWLINE);
|
VTY_NEWLINE);
|
||||||
++writes;
|
++writes;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user