[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87jyzkvwoq.fsf@fuzy.me>
Date: Fri, 21 Nov 2025 12:25:41 +0800
From: Zhengyi Fu <i@...y.me>
To: netdev@...r.kernel.org
Subject: [BUG] iproute2 - ip -d -j tuntap outputs malformed JSON
Hi iproute2 maintainers,
$ sudo ip -d -j tuntap
[{"ifname":"tun0","flags":["tun","persist"],"processes":["name":"ssh","pid":86812]}]
The “processes” value looks like it should be an array of objects, so
the inner braces seem to be missing:
[{"ifname":"tun0","flags":["tun","persist"],"processes":[{"name":"ssh","pid":86812}]}]
Could you confirm whether this is a formatting bug or if the output is
intentionally flattened?
Thanks!
Powered by blists - more mailing lists