adding verification of packet_in reason