That's the wrong hostname
parent
cdd812d402
commit
e5a1aa7a22
|
@ -53,7 +53,7 @@ username="$("${LIB_DIR}/ns_lookup_rdns" "${REMOTE_ADDR}" | cut -d'.' -f2)" || (
|
||||||
printf 'User not found' | "${LIB_DIR}/http_res" 403
|
printf 'User not found' | "${LIB_DIR}/http_res" 403
|
||||||
exit 17
|
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}"
|
domain="${hostname}.${username}.${TLD}"
|
||||||
|
|
||||||
# Check if new peer already exists
|
# Check if new peer already exists
|
||||||
|
|
Loading…
Reference in New Issue