diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/testutils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/check/testutils.c b/tests/check/testutils.c index 089b9daf..33ca3f53 100644 --- a/tests/check/testutils.c +++ b/tests/check/testutils.c @@ -51,6 +51,9 @@ find_multicast_capable_address (void) if ((ifa->ifa_flags & IFF_MULTICAST) == 0) continue; + if ((ifa->ifa_flags & IFF_RUNNING) == 0) + continue; + if (ifa->ifa_addr == NULL || ifa->ifa_addr->sa_family != AF_INET) continue; |