Commit graph

3 commits

Author SHA1 Message Date
Xin LI
43a8fdff46 Fix an incorrect pointer usage and pass the right pointer to freeifaddrs(),
which would cause a free() inside allocated chunk.

Without this change, the class could crash with jemalloc debugging options
enabled.  The patch have also been submitted to upstream maintainer.

Reported by:	lev
Submitted by:	delphij
PR:		ports/167938
Approved by:	perl@ (swills)
2012-05-15 20:48:06 +00:00
Josef Karthauser
c00937158d Upgrade to version 0.97.
Submitted by:	Anton Berezin <tobez@tobez.org>
2001-05-17 11:22:00 +00:00
Josef Karthauser
cc63125ef5 IO::Interface adds object-methods to IO::Socket objects to allow
them to get and set operational characteristics of network interface
cards, such as IP addresses, net masks, and so forth.  It is useful
for identifying runtime characteristics of cards, such as broadcast
addresses, and finding interfaces that satisfy certain criteria,
such as the ability to multicast.

PR:	ports/26876
2001-04-28 15:16:33 +00:00