]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
bridge/fdb: fix statistics output spacing
authorScott Feldman <sfeldma@gmail.com>
Thu, 4 Dec 2014 08:57:14 +0000 (09:57 +0100)
committerStephen Hemminger <shemming@brocade.com>
Wed, 10 Dec 2014 00:29:27 +0000 (16:29 -0800)
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
bridge/fdb.c

index a55fac1e6b93139cc7c61382e117929bd7308739..d678342cd188762ce7a5df6d8d04256511cdfc94 100644 (file)
@@ -142,7 +142,7 @@ int print_fdb(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
                struct nda_cacheinfo *ci = RTA_DATA(tb[NDA_CACHEINFO]);
                int hz = get_user_hz();
 
-               fprintf(fp, " used %d/%d", ci->ndm_used/hz,
+               fprintf(fp, "used %d/%d ", ci->ndm_used/hz,
                       ci->ndm_updated/hz);
        }
        if (r->ndm_flags & NTF_SELF)