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:
Roman Mashak 2016-08-28 08:52:40 -04:00 committed by Stephen Hemminger
parent 7cc7cb8a88
commit cef49e514a
1 changed files with 1 additions and 1 deletions

View 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, " ");