Closed cyayon closed 9 months ago
I suggest to replace :
field_value=$(printf "%s" "$i" | awk -F ': ?' '{print $2}' | tr -d '"' | tr -d '[]')
with :
field_value=$(printf "%s" "$i" | cut -d: -f2- | tr -d '"' | tr -d '[]')
Thanks for reporting this! I updated the awk field separator regex to correctly handle IPv6 addresses, and it should be fixed in v2.1.1.
Deleted comment that was duplicate of #37.
Hi ,
there is an issue with the new version 2.1. the json_get_field() function failed to get the correct record_value for ipv6 records :
It should be :
Thanks.