Fix for relay_packet