Updated for the latest wireshark API