Forgot to rename the sendpacket function