Removed debug code, and fixed pcap length computation