Simplify and fix IPv4 comparison
Memset works on bytes not bits