Added check and error message for tcpdump