Forum Discussion
scott_sams_8256
Nimbostratus
Mar 19, 2009if else logic
i guess this isnt right.
can i get some help on my else if logic. have three conditions, three pools to check based on info in packet. thanks!
when CLIENT_ACCEPTED {
TCP::col...
scott_sams_8256
Nimbostratus
Mar 19, 2009did i just miss the last bracket before TCP::release?
}
when CLIENT_ACCEPTED {
TCP::collect 15
}
when CLIENT_DATA {
if { [TCP::payload 15] contains "1" } {
pool 1
} elseif { [TCP::payload 15] contains "2" } {
pool 2
} else {
pool 3
}
TCP::release
}
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