Date: Tue, 17 Nov 2015 12:09:57 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290975 - head/usr.bin/netstat Message-ID: <201511171209.tAHC9v9S087131@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ume Date: Tue Nov 17 12:09:57 2015 New Revision: 290975 URL: https://svnweb.freebsd.org/changeset/base/290975 Log: JSON doesn't permit a hexadecimal notation of an integer. Modified: head/usr.bin/netstat/if.c Modified: head/usr.bin/netstat/if.c ============================================================================== --- head/usr.bin/netstat/if.c Tue Nov 17 11:26:35 2015 (r290974) +++ head/usr.bin/netstat/if.c Tue Nov 17 12:09:57 2015 (r290975) @@ -358,7 +358,7 @@ intpr(void (*pfunc)(char *), int af) } else xname = name; - xo_emit("{etk:name/%s}{e:flags/0x%x}{d:/%-*.*s}", + xo_emit("{etk:name/%s}{eq:flags/0x%x}{d:/%-*.*s}", name, ifa->ifa_flags, ifn_len_max, ifn_len_max, xname); #define IFA_MTU(ifa) (((struct if_data *)(ifa)->ifa_data)->ifi_mtu)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511171209.tAHC9v9S087131>