Update d_packet.cpp