port 0 error SOLVED: IPv4 packets only should be considered, so added conditional to include TCP, etc. headers as well