From e5a1aa7a222745c26637c4e10a096a5ecb87dc80 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Fri, 9 Sep 2022 22:12:35 -0600 Subject: [PATCH] That's the wrong hostname --- back/srv/dashboard/add | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/srv/dashboard/add b/back/srv/dashboard/add index b555dee..9327147 100755 --- a/back/srv/dashboard/add +++ b/back/srv/dashboard/add @@ -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