changed ether_type var type from short to uint16_t