pidl-wireshark: if the element is used as a switch store the value