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:
Alan Jowett
2020-03-02 12:12:43 -07:00
committed by Nikos Mavrogiannopoulos
parent 9a41a27b18
commit 780fbb89a0
13 changed files with 81 additions and 15 deletions

View File

@@ -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];