DataScript: avi.vs.client_ip

DataScript

Function avi.vs.client_ip()
Description Returns the client's IPv4 (or, starting with 18.1.3, IPv6) address.
Events All
Parameter None
Returns String containing the client’s source IP address.
Example Insert the source IP address of a client into an HTTP header.
avi.http.add_header("XFF", avi.vs.client_ip())