[PATCH 2/2] ipfilter(): simplify the code using new addr_in_net() function