From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [iproute PATCH v2] tc: htb: Print default value in hex Date: Tue, 23 Oct 2018 10:09:01 -0700 Message-ID: <20181023100901.72ed2aca@xeon-e3> References: <20181023103624.6263-1-phil@nwl.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: Phil Sutter Return-path: Received: from mail-pg1-f196.google.com ([209.85.215.196]:38575 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727730AbeJXBdT (ORCPT ); Tue, 23 Oct 2018 21:33:19 -0400 Received: by mail-pg1-f196.google.com with SMTP id f8-v6so957417pgq.5 for ; Tue, 23 Oct 2018 10:09:04 -0700 (PDT) In-Reply-To: <20181023103624.6263-1-phil@nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 23 Oct 2018 12:36:24 +0200 Phil Sutter wrote: > Value of 'default' is assumed to be hexadecimal when parsing, so > consequently it should be printed in hex as well. This is a regression > introduced when adding JSON output. > > As requested, also change JSON output to print the value as hex string. > > Fixes: f354fa6aa5ff0 ("tc: jsonify htb qdisc") > Signed-off-by: Phil Sutter Thanks, applied.