summaryrefslogtreecommitdiffstats
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-04-04 13:50:31 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-04-04 13:50:31 +0200
commit97d2cd8d0c54279407cef16f070231912ef85a00 (patch)
tree71e4d83becfdc25476910789372dfccd1011f032 /zebra/interface.c
parentlib, zebra: Fix CR comments (diff)
downloadfrr-97d2cd8d0c54279407cef16f070231912ef85a00.tar.xz
frr-97d2cd8d0c54279407cef16f070231912ef85a00.zip
zebra: Fix printf formatting
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--zebra/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index adcc78095..1d015e858 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -1056,7 +1056,7 @@ if_dump_vty (struct vty *vty, struct interface *ifp)
return;
}
- vty_out (vty, " index %d metric %d mtu %d speed %d ",
+ vty_out (vty, " index %d metric %d mtu %d speed %u ",
ifp->ifindex, ifp->metric, ifp->mtu, ifp->speed);
if (ifp->mtu6 != ifp->mtu)
vty_out (vty, "mtu6 %d ", ifp->mtu6);