Fixed const Packet* related compile error