clear.cc (242B)
1 #include "ipstore" 2 3 void IPStore::clear(struct in_addr clientip) { 4 debugmsg("Erasing IP entry of " << inet2string(clientip) << '\n'); 5 6 static int lock; 7 8 mutex_lock(&lock); 9 store.erase(clientip); 10 mutex_unlock(&lock); 11 }