Skip Menu |

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

Report information
The Basics
Id: 38738
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Net-Interface

People
Owner: michael [...] bizsystems.com
Requestors: keith [...] blekko.com
Cc:
AdminCc:

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



Subject: Net::Interface->interfaces on OS X 10.5.4
Date: Tue, 26 Aug 2008 13:24:58 -0700
To: bug-Net-Interface [...] rt.cpan.org
From: "Keith Peters" <keith [...] blekko.com>

Message body is not shown because sender requested not to inline it.

I'm using Net::Interface 0.08 (and I really like it BTW, thanks). I recently upgraded my Mac to 10.5.4 and found that Net::Interface->interfaces no longer was working as it was supposed to (I was getting odd names for interfaces). I tracked the bug down to the face that *struct ifreq* is no longer a fixed width structure on the mac. I've attached a patch that has fixed OS X 10.5.4 without breaking my Linux build. Also. Since it was requested on the bug report page: [keith@keith-desk ~]$ perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. Keith Peters Code Monkey Blekko, Inc.
Patch supplied by Keith Peters applied to release 0.09 Thanks Keith.