]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
police: add extra space to improve police result printing
authorRoman Mashak <mrv@mojatatu.com>
Sun, 28 Aug 2016 12:52:40 +0000 (08:52 -0400)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 29 Aug 2016 17:54:40 +0000 (10:54 -0700)
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
tc/m_police.c

index f0b179fcc174423a7b1d4335ef866476fbb5b52a..d7fa8f665475d7cff85318d1b29b616763aa6367 100644 (file)
@@ -322,7 +322,7 @@ int print_police(struct action_util *a, FILE *f, struct rtattr *arg)
        if (tb[TCA_POLICE_RESULT]) {
                __u32 action = rta_getattr_u32(tb[TCA_POLICE_RESULT]);
 
-               fprintf(f, "/%s", action_n2a(action));
+               fprintf(f, "/%s ", action_n2a(action));
        } else
                fprintf(f, " ");