* [iproute2 1/1] tc: Fix filter protocol output
@ 2018-01-07 14:43 Jamal Hadi Salim
2018-01-07 18:35 ` Jiri Pirko
2018-01-09 16:09 ` Stephen Hemminger
0 siblings, 2 replies; 3+ messages in thread
From: Jamal Hadi Salim @ 2018-01-07 14:43 UTC (permalink / raw)
To: stephen; +Cc: netdev, jiri, xiyou.wangcong, Jamal Hadi Salim
From: Jamal Hadi Salim <jhs@mojatatu.com>
Fixes: 249284ff5a44 ("tc: jsonify filter core")
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
---
tc/tc_filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tc/tc_filter.c b/tc/tc_filter.c
index 545cc3a..546311a 100644
--- a/tc/tc_filter.c
+++ b/tc/tc_filter.c
@@ -276,7 +276,7 @@ int print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
if (!filter_protocol || filter_protocol != f_proto) {
if (f_proto) {
SPRINT_BUF(b1);
- print_string(PRINT_JSON, "protocol",
+ print_string(PRINT_ANY, "protocol",
"protocol %s ",
ll_proto_n2a(f_proto, b1, sizeof(b1)));
}
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [iproute2 1/1] tc: Fix filter protocol output
2018-01-07 14:43 [iproute2 1/1] tc: Fix filter protocol output Jamal Hadi Salim
@ 2018-01-07 18:35 ` Jiri Pirko
2018-01-09 16:09 ` Stephen Hemminger
1 sibling, 0 replies; 3+ messages in thread
From: Jiri Pirko @ 2018-01-07 18:35 UTC (permalink / raw)
To: Jamal Hadi Salim; +Cc: stephen, netdev, xiyou.wangcong
Sun, Jan 07, 2018 at 03:43:28PM CET, jhs@mojatatu.com wrote:
>From: Jamal Hadi Salim <jhs@mojatatu.com>
>
>Fixes: 249284ff5a44 ("tc: jsonify filter core")
>Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
>---
> tc/tc_filter.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/tc/tc_filter.c b/tc/tc_filter.c
>index 545cc3a..546311a 100644
>--- a/tc/tc_filter.c
>+++ b/tc/tc_filter.c
>@@ -276,7 +276,7 @@ int print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
> if (!filter_protocol || filter_protocol != f_proto) {
> if (f_proto) {
> SPRINT_BUF(b1);
>- print_string(PRINT_JSON, "protocol",
>+ print_string(PRINT_ANY, "protocol",
ha! Thanks!
Acked-by: Jiri Pirko <jiri@mellanox.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [iproute2 1/1] tc: Fix filter protocol output
2018-01-07 14:43 [iproute2 1/1] tc: Fix filter protocol output Jamal Hadi Salim
2018-01-07 18:35 ` Jiri Pirko
@ 2018-01-09 16:09 ` Stephen Hemminger
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2018-01-09 16:09 UTC (permalink / raw)
To: Jamal Hadi Salim; +Cc: netdev, jiri, xiyou.wangcong
On Sun, 7 Jan 2018 09:43:28 -0500
Jamal Hadi Salim <jhs@mojatatu.com> wrote:
> From: Jamal Hadi Salim <jhs@mojatatu.com>
>
> Fixes: 249284ff5a44 ("tc: jsonify filter core")
> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-09 16:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-07 14:43 [iproute2 1/1] tc: Fix filter protocol output Jamal Hadi Salim
2018-01-07 18:35 ` Jiri Pirko
2018-01-09 16:09 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).