diff options
-rwxr-xr-x | nodegen | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,6 +7,6 @@ jq --tab '[.nodes[] | select(.last_ping > 0) | select(.tcp_ports | length > 0) | {".addr4": .ipv4, ".addr6": .ipv6, ".udp_port": .port, ".tcp_port": .tcp_ports[0], ".idstr": .public_key}]' | -sed 's/"-"/NULL/; s/"NONE"/NULL/; s/"\(\.[0-9a-z_]\+\)":/\1 =/; 1d; $d' +sed 's/"-"/NULL/; s/"NONE"/NULL/; s/"\(\.[0-9a-z_][0-9a-z_]*\)":/\1 =/; 1d; $d' echo '};' |