}
// Is this ACL going to work?
- if (strcmp(theType, "myip") != 0) {
+ if (strcmp(theType, "myip") == 0) {
http_port_list *p = Config.Sockaddr.http;
while (p) {
// Bug 3239: not reliable when there is interception traffic coming
}
debugs(28, DBG_IMPORTANT, "UPGRADE: ACL 'myip' type is has been renamed to 'localip' and matches the IP the client connected to.");
theType = "localip";
- } else if (strcmp(theType, "myport") != 0) {
+ } else if (strcmp(theType, "myport") == 0) {
http_port_list *p = Config.Sockaddr.http;
while (p) {
// Bug 3239: not reliable when there is interception traffic coming