Adding proior check for packet_in 30.100

Adding packet_in check before sending the port_mod.