Thread (3 messages) 3 messages, 2 authors, 2018-03-08

Re: [PATCH iproute2-next] ip-address: Fix negative prints of large TX rate limits

flat view

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2018-03-08 15:38:40

On Thu,  8 Mar 2018 15:48:27 +0200
Tariq Toukan [off-list ref] wrote:
quoted hunk ↗ jump to hunk
 	if (vf_tx_rate->rate)
 		print_int(PRINT_ANY,
 			  "tx_rate",
-			  ", tx rate %d (Mbps)",
+			  ", tx rate %u (Mbps)",
 			  vf_tx_rate->rate)
JSON output has same sign bug. You need to use print_uint here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help