Thread (8 messages) flat view 8 messages, 3 authors, 2021-08-17

Re: [PATCH iproute2-next v2 2/3] bridge: fdb: don't colorize the "dev" & "dst" keywords in "bridge -c fdb"

From: Gokul Sivakumar <hidden>
Date: 2021-08-17 17:22:41

On Tue, 2021-08-17 at 08:27 -0700, Stephen Hemminger wrote:
On Sun, 15 Aug 2021 00:17:26 +0530
Gokul Sivakumar [off-list ref] wrote:
quoted
+		if (!is_json_context())
+			print_string(PRINT_FP, NULL, "dev ", NULL);
Why not the check for is_json_context is unnecessary here.
That is what PRINT_FP does.
Thanks for pointing it out, will remove those two unnecessary
condition checks and send a v3 patchset now.

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