Fix tcpdump function.