SERVER-15716 change logical not to bitwise not in NetworkInterfaceMock