mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Script needs access to additional client metadata.
Export more information to the script, including client device platform, type and user agent. Resolves: #256 Signed-off-by: Alan Jowett <alanjo@microsoft.com>
This commit is contained in:
committed by
Nikos Mavrogiannopoulos
parent
9a41a27b18
commit
780fbb89a0
@@ -71,6 +71,8 @@ typedef struct common_acct_info_st {
|
||||
char safe_id[SAFE_ID_SIZE]; /* an ID to be sent to external apps - printable */
|
||||
char remote_ip[MAX_IP_STR];
|
||||
char user_agent[MAX_AGENT_NAME];
|
||||
char device_type[MAX_DEVICE_TYPE];
|
||||
char device_platform[MAX_DEVICE_PLATFORM];
|
||||
char our_ip[MAX_IP_STR];
|
||||
char ipv4[MAX_IP_STR];
|
||||
char ipv6[MAX_IP_STR];
|
||||
|
||||
Reference in New Issue
Block a user