Update send to use get_gateway function for getting macaddr