diff mbox series

[iproute2-next,1/1] tc: add missing space symbol in ife output

Message ID 1526563682-28095-1-git-send-email-mrv@mojatatu.com
State Accepted, archived
Delegated to: David Ahern
Headers show
Series [iproute2-next,1/1] tc: add missing space symbol in ife output | expand

Commit Message

Roman Mashak May 17, 2018, 1:28 p.m. UTC
In order to make TDC tests match the output patterns, the missing space
character must be added in the mode output string.

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
 tc/m_ife.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Ahern May 18, 2018, 4:11 p.m. UTC | #1
On 5/17/18 7:28 AM, Roman Mashak wrote:
> In order to make TDC tests match the output patterns, the missing space
> character must be added in the mode output string.
> 
> Signed-off-by: Roman Mashak <mrv@mojatatu.com>
> ---
>  tc/m_ife.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Please add the Fixes tag when submitting bug fixes.

Added Fixes tag and applied to iproute2-next. Thanks
diff mbox series

Patch

diff --git a/tc/m_ife.c b/tc/m_ife.c
index 5320e94dbd48..20e9c73d9a0e 100644
--- a/tc/m_ife.c
+++ b/tc/m_ife.c
@@ -240,7 +240,7 @@  static int print_ife(struct action_util *au, FILE *f, struct rtattr *arg)
 	p = RTA_DATA(tb[TCA_IFE_PARMS]);
 
 	print_string(PRINT_ANY, "kind", "%s ", "ife");
-	print_string(PRINT_ANY, "mode", "%s",
+	print_string(PRINT_ANY, "mode", "%s ",
 		     p->flags & IFE_ENCODE ? "encode" : "decode");
 	print_action_control(f, "action ", p->action, " ");