fix: 🐛 Fix admin peer listing

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

View File

@ -14,7 +14,7 @@
source /etc/wagon/config
rev_ipv4="$(/usr/lib/wagon/ns_update_rev_ipv4 ${IPV4_HUB} | cut -f1 | cut -d'.' -f3-6)"
res="$(/usr/lib/wagon/ns_lookup_rdns "-query=axfr" "${rev_ipv4}")"
res="$(/usr/lib/wagon/ns_lookup_send "-query=axfr" "${rev_ipv4}")"
case $? in
0) printf '%s' "${res}"; exit 0;;
4) printf 'Domain for %s not found!\n' "${1}" >&2; exit 4;;