When I try to save the iRule as it is written I get this on the Load Balancer:
error: line 2: [parse error: missing close-bracket] [[IP::addr [IP::client_addr] connected to real server IP: [LB::server addr]" ]
It's set up like this in the LB. Am I missing something in the format?
when LB_SELECTED {
log local0. "Client [IP::addr [IP::client_addr] connected to real server IP: [LB::server addr]"
}
To change it I simply took out the "[IP::addr ", and changed it to "IP" and it seemed to save without error. Again, I'm new, so I'm not sure which format is ultimately correct. Thanks.
when LB_SELECTED {
log local0. "Client IP:[IP::client_addr] connected to real server IP: [LB::server addr]"
}