--- dansguardian-2.10/src/IPList.cpp.orig 2008-11-19 07:45:54 +0000 +++ dansguardian-2.10/src/IPList.cpp 2008-11-19 07:46:44 +0000 @@ -81,7 +81,7 @@ hostnames.reset(new std::deque); hostnames->push_back(*host); } - for (std::deque::const_iterator i = hostnames->begin(); i != hostnames->end(); ++i) + for (std::deque::iterator i = hostnames->begin(); i != hostnames->end(); ++i) { if (std::binary_search(hostlist.begin(), hostlist.end(), *i)) {