resolve gcc 4.1 warning by changing ip_hash to a union