mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
updated example script to account for STATS_BYTES variables.
This commit is contained in:
@@ -8,7 +8,7 @@ if [ "$REASON" = "connect" ];then
|
||||
else
|
||||
iptables -D INPUT -i $DEVICE -j ACCEPT
|
||||
|
||||
echo "User '$USERNAME' from '$IP_REAL' disconnected."
|
||||
echo "User '$USERNAME' from '$IP_REAL' disconnected (in: $STATS_BYTES_IN, out: $STATS_BYTES_OUT)."
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user