Modify ipv4_prefix_match, same as ipv4_addr_match.