Skip Menu |

This queue is for tickets about the IO-Interface CPAN distribution.

Report information
The Basics
Id: 69630
Status: resolved
Priority: 0/
Queue: IO-Interface

People
Owner: Nobody in particular
Requestors: ssb [...] umn.edu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.05
Fixed in: (no value)



Subject: test 5 broken for multiple IFF_LOOPBACK interfaces
On Linux 2.6: Specifically in our case, aliases on loopback: lo:4 Link encap:Local Loopback inet addr:128.101.0.3 Mask:255.255.255.255 UP LOOPBACK RUNNING MTU:16436 Metric:1 Simplistic patch which perhaps undesirably merges tests 4 and 5: - $loopback = $_ if $s->if_flags($_) & IFF_LOOPBACK; + $loopback = $_ if $s->if_flags($_) & IFF_LOOPBACK && $s->if_addr($_) eq '127.0.0.1';
This is fixed in version 1.06. I fixed the test in a slightly different way -- it now looks for at least one loopback interface with the address 127.0.0.1.