diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-03-15 11:32:41 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-03-15 11:32:41 -0400 |
| commit | f116689efba19b9aee2425b6359da2befce205d1 (patch) | |
| tree | 079f694469d6b61eeb7e8cba7fae664fecba3fd4 /pimd/pim_cmd.c | |
| parent | 86dd09667aad80fbd7f3e8d878f1733ebeda4f20 (diff) | |
pimd: Display drpriority as a unsigned int
There existed output code that used %d for a uint32_t
switch to a %u.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index f521704f1b..012c3b4f1d 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -1191,7 +1191,7 @@ static void pim_show_interfaces_single(struct pim_instance *pim, vty_out(vty, "Designated Router\n"); vty_out(vty, "-----------------\n"); vty_out(vty, "Address : %s\n", dr_str); - vty_out(vty, "Priority : %d(%d)\n", + vty_out(vty, "Priority : %u(%d)\n", pim_ifp->pim_dr_priority, pim_ifp->pim_dr_num_nondrpri_neighbors); vty_out(vty, "Uptime : %s\n", dr_uptime); |
