Fix - missing clientmac when not using themespec

Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
Rob White
2021-07-30 10:12:41 +01:00
parent 42b66cfab3
commit ef64e20003

View File

@@ -277,6 +277,8 @@ if [ ! -z "$cidfile" ]; then
# Add a selection of client data variables to the log entry
log_entry="$log_entry, gatewayname=$gatewayname, ndsversion=$version, originurl=$originurl"
else
clientmac=$2
fi
# Get the client zone (the network zone the client is connected to