--On Tuesday, July 19, 2011 10:05 AM -0700 Quanah Gibson-Mount <[email protected]> wrote:

--On Monday, July 18, 2011 3:07 PM -0700 Quanah Gibson-Mount
<[email protected]> wrote:

--On Monday, June 06, 2011 6:09 PM +0200 Mark Martinec
<[email protected]> wrote:

Scott,

We're making a big push on IPv6 readiness in this Ubuntu development
cycle, so I'd appreciate having the patch.

That's very nice to hear!

The patch for Net-Server-0.99 is attached, includes documentation
changes.

This patch results in an non-working Net::Server object for me.
Specifically because of line 790:

Rewriting this as an if statement resolves the error:

   if ($sock->sockdomain == AF_INET) {
($prop->{peerport}, $prop->{peeraddrn}) = Socket::sockaddr_in($prop->{udp_peer});
   } else {
($prop->{peerport}, $prop->{peeraddrn}) = Socket6::sockaddr_in6($prop->{udp_peer});
   }

Dunno what's wrong with the logic in the alternate code block. :P

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Reply via email to