Date: Sun, 20 Aug 2017 19:34:33 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221676] arp: invalid json output from libxo when bridge is present Message-ID: <bug-221676-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221676 Bug ID: 221676 Summary: arp: invalid json output from libxo when bridge is present Product: Base System Version: 11.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: olgeni@FreeBSD.org Trying to get json output from arp(8): # arp -a --libxo json | jq . parse error: Invalid numeric literal at line 1, column 170 Indeed, the output document was this: {"__version": "1", "arp": {"arp-cache": [{"hostname":"?","ip-address":"172.16.1.1","mac-address":"02:c9:3a:59:26:00= ","interface":"bridge0","permanent":true,"type":bridge}, {"hostname":"olgeni.home.olgeni.com","ip-address":"192.168.0.1","mac-addres= s":"bc:ae:c5:5b:e5:e5","interface":"re0","permanent":true,"type":"ethernet"= }, {"hostname":"?","ip-address":"192.168.0.254","mac-address":"4c:60:de:f9:44:= 46","interface":"re0","expires":1173,"type":"ethernet"}]} } Everything looks ok, but the 'bridge' string is not quoted. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221676-8>