That's the wrong hostname

master
Keith Irwin 2022-09-09 22:12:35 -06:00
parent cdd812d402
commit e5a1aa7a22
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ username="$("${LIB_DIR}/ns_lookup_rdns" "${REMOTE_ADDR}" | cut -d'.' -f2)" || (
printf 'User not found' | "${LIB_DIR}/http_res" 403
exit 17
)
printf '%s identified as %s.%s\n' "${ip}" "${hostname}" "${username}" >>"${LOGFILE}"
printf '%s identified as %s\n' "${ip}" "${username}" >>"${LOGFILE}"
domain="${hostname}.${username}.${TLD}"
# Check if new peer already exists