refactor: 🎨 Removed extraneous flag

master
Keith Irwin 2023-12-02 18:21:34 -07:00
parent b9c93788ea
commit 4ab1f9a573
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ res="$(/usr/lib/wagon/ns_lookup_axfr_rdns4)" || exit 4
# TODO: Run this loop in parallel
while IFS= read -r line; do
pubkey="$(<<<"${line}" cut -d ' ' -f1)"
ips="$(<<<"${line}" cut -d ' ' -f2 | tr ' ' '\n')"
ips="$(<<<"${line}" cut -f2 | tr ' ' '\n')"
ipv4="$(<<<"${ips}" grep '\.')"
ipv6="$(<<<"${ips}" grep ':')"
ipv4="${ipv4%%/*}"