Thread (18 messages) 18 messages, 6 authors, 2023-01-31

Re: [PATCH iproute2-next 2/2] tc: add new attr TCA_EXT_WARN_MSG

From: Hangbin Liu <hidden>
Date: 2023-01-13 06:22:31

On Thu, Jan 12, 2023 at 08:30:19PM -0800, Stephen Hemminger wrote:
On Fri, 13 Jan 2023 11:46:17 +0800
Hangbin Liu [off-list ref] wrote:
quoted
	if (tb[TCA_EXT_WARN_MSG]) {
+		print_string(PRINT_ANY, "Warn", "%s ", rta_getattr_str(tb[TCA_EXT_WARN_MSG]));
+		print_nl();
+	}
+
Errors should go to stderr, and not to stdout. And no JSON support please.
Thanks, I thought this belongs to an attr data. So I put it in the JSON object.
I will adjust this to stderr and out side of JSON.

Hangbin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help