added check for IPv4 packets