Accessing TCP Options from iRules
I’ve written several articles on the TCP profile and enjoy digging into TCP. It’s a beast, and I am constantly re-learning the inner workings. Still etched in my visual memory map, however, is the ...
Published Mar 25, 2011
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
Joel_Smith
Jun 25, 2020Altostratus
Jason,
Shouldn't the line:
if { [catch {IP::addr $x mask 255.255.255.255}] } {
Be:
if { [catch {IP::addr $optaddr mask 255.255.255.255}] } {
Also, does [IP::addr parse] throw an exception if the bytearray doesn't contain a valid IP address?
If so, then the catch block around the [IP:addr] on the next line should be moved up a line.
Joel