*
*/
#include "config.h"
-
#include "acl/Acl.h"
#include "acl/Checklist.h"
#include "ConfigParser.h"
+#include "Debug.h"
#include "dlink.h"
#include "ProtoPort.h"
xstrncpy(aclname, t, ACL_NAME_SZ);
/* snarf the ACL type */
- char *theType;
+ const char *theType;
if ((theType = strtok(NULL, w_space)) == NULL) {
debugs(28, 0, "aclParseAclLine: missing ACL type.");
debugs(28, DBG_CRITICAL, "WARNING: 'myip' ACL is not reliable for interception proxies. Please use 'myportname' instead.");
p = p->next;
}
- debugs(28, DBG_WARNING, "UPGRADE: ACL 'myip' type is has been renamed to 'localip' and matches the IP the client connected to.");
+ 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) {
http_port_list *p = Config.Sockaddr.http;
p = p->next;
}
theType = "localport";
- debugs(28, DBG_WARNING, "UPGRADE: ACL 'myport' type is has been renamed to 'localport' and matches the port the client connected to.");
+ debugs(28, DBG_IMPORTANT, "UPGRADE: ACL 'myport' type is has been renamed to 'localport' and matches the port the client connected to.");
}
if (!Prototype::Registered(theType)) {