[PATCH v2] test_tools: fix IP_MULTICAST_IF sockopt bug