Add packettype switch