Some changes in ipfilter.cpp