Forum Discussion
Luke_W_168008
Nimbostratus
Nov 27, 2018IP::remote_addr is adding %1 at the end
I have an iRule that I'm trying to save the remote/client IP address to a variable then compare it to specific IP addresses. The variable is ending in %1 how do I remove the %1?
when CLIENT_A...
Stanislas_Piro2
Cumulonimbus
Nov 27, 2018This is because of route domains...
Replace
[IP:remote_addr]
with [getfield [IP:remote_addr] % 1]
to split the address with % as separator.Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects