police: add extra space to improve police result printing
Signed-off-by: Roman Mashak <mrv@mojatatu.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
This commit is contained in:
parent
7cc7cb8a88
commit
cef49e514a
|
|
@ -322,7 +322,7 @@ int print_police(struct action_util *a, FILE *f, struct rtattr *arg)
|
||||||
if (tb[TCA_POLICE_RESULT]) {
|
if (tb[TCA_POLICE_RESULT]) {
|
||||||
__u32 action = rta_getattr_u32(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
|
} else
|
||||||
fprintf(f, " ");
|
fprintf(f, " ");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue