Update p_packet.cpp