diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-07-27 01:05:09 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-07-27 01:05:09 +0200 |
commit | 0b1321e2185a216a4135ad92973e440a1ba3f08e (patch) | |
tree | c38cb30677793a3faa34537b7c4d69592734ef5c /vrrpd/vrrp_vty.c | |
parent | doc: Add doc for `coalesce-time` in bgp (diff) | |
download | frr-0b1321e2185a216a4135ad92973e440a1ba3f08e.tar.xz frr-0b1321e2185a216a4135ad92973e440a1ba3f08e.zip |
vrrpd: Make clang 11 happy
Recent changes to remove PRIu... in commit:
6cde4b45528e52819c803de92d10d4be3abddf29
causes clang 11 to be unhappy, with length of field warnings.
Modify the offending code to compile properly using that compiler.
I've tested against clang 11 and gcc 9.3
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_vty.c')
-rw-r--r-- | vrrpd/vrrp_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c index 1a1233708..dc7f023e8 100644 --- a/vrrpd/vrrp_vty.c +++ b/vrrpd/vrrp_vty.c @@ -653,7 +653,7 @@ DEFPY(vrrp_vrid_show_summary, continue; ttable_add_row( - tt, "%s|%hhu|%hhu|%d|%d|%s|%s", + tt, "%s|%u|%hhu|%d|%d|%s|%s", vr->ifp->name, vr->vrid, vr->priority, vr->v4->addrs->count, vr->v6->addrs->count, vr->v4->fsm.state == VRRP_STATE_MASTER ? "Master" |