More parsing...

master
Keith Irwin 2022-10-03 11:31:32 -06:00
parent 69bfb044f5
commit 4fd04b13db
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 2 deletions

View File

@ -35,6 +35,5 @@ while IFS= read -r line; do
ipv6="$(<<<"${ips}" grep ':')"
ipv4="${ipv4%%/*}"
ipv6="${ipv6%%/*}"
<<<"${res}" grep -B1 " ${ipv4}" >>"${LOGFILE}"
<<<"${res}" grep -B1 " ${ipv6}" >>"${LOGFILE}"
<<<"${res}" grep -B1 " ${ipv4}\| ${ipv6}" | sed '/--/d' | cut -f2 >>"${LOGFILE}"
done