Pablo_Ayala
Nov 18, 2009Nimbostratus
econdig command
Hi
I'm doing the next irule,
when CLIENT_ACCEPTED {
TCP::collect 100
}
when CLIENT_DATA {
set datos1 [TCP::payload]
set datos2 [encoding convertfrom ebcdic [encoding convertto ebcdic $datos1]]
if { $datos2 contains "magic" } {
pool magic_pool
} else {
pool default_pool
}
}
But I get the following error in the log
- invalid command name "encoding" while executing "encoding convertto ebcdic $datos1"
Then I found on the Internet on the following fact regarding the command
the encoding command is a Tcl 8.x command and is not present in Tcl 7.6, as far as I know.
I need to use this command
I can use this command tmos BigIP with version 10???
Thanks
pablo