Use print_packet in more places