1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Ignore interfaces without addresses, otherwise the test fails.
Idea taken from IO::Socket::Multicast.
Bug: https://rt.cpan.org/Ticket/Display.html?id=105129
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=105129
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-06-09
--- a/t/05interface.t
+++ b/t/05interface.t
@@ -19,6 +19,7 @@
foreach my $if (@interfaces) {
next unless ($if->is_running);
next unless ($if->is_multicast);
+ next unless ($if->address);
# Found multicast enabled interface
$iface = $if->name();
|