1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-09 01:05:53 +02:00

add nixos and freebsd to tested. update new arp fields

This commit is contained in:
Kelly Brazil
2020-05-30 17:05:41 -07:00
parent bcab9078a4
commit c4da8e4f78

View File

@ -205,6 +205,8 @@ Tested on:
- Fedora32 - Fedora32
- OSX 10.11.6 - OSX 10.11.6
- OSX 10.14.6 - OSX 10.14.6
- NixOS
- FreeBSD12
## Contributions ## Contributions
Feel free to add/improve code or parsers! You can use the [`jc/parsers/foo.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/foo.py) parser as a template and submit your parser with a pull request. Feel free to add/improve code or parsers! You can use the [`jc/parsers/foo.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/foo.py) parser as a template and submit your parser with a pull request.
@ -314,21 +316,25 @@ $ arp -a | jc --arp -p # or: jc -p arp -a
"address": "192.168.71.1", "address": "192.168.71.1",
"hwtype": "ether", "hwtype": "ether",
"hwaddress": "00:50:56:c0:00:08", "hwaddress": "00:50:56:c0:00:08",
"iface": "ens33" "iface": "ens33",
"permanent": true
}, },
{ {
"name": null, "name": null,
"address": "192.168.71.254", "address": "192.168.71.254",
"hwtype": "ether", "hwtype": "ether",
"hwaddress": "00:50:56:fe:7a:b4", "hwaddress": "00:50:56:fe:7a:b4",
"iface": "ens33" "iface": "ens33",
"permanent": true
}, },
{ {
"name": "_gateway", "name": "_gateway",
"address": "192.168.71.2", "address": "192.168.71.2",
"hwtype": "ether", "hwtype": "ether",
"hwaddress": "00:50:56:f7:4a:fc", "hwaddress": "00:50:56:f7:4a:fc",
"iface": "ens33" "iface": "ens33",
"permanent": false,
"expires": 110
} }
] ]
``` ```