Re: [pulseaudio-discuss] ticket #79 - disable IPv6 support

2009-02-13 Thread Lennart Poettering
On Thu, 12.02.09 13:26, Iain Hibbert (plu...@rya-online.net) wrote: > updated patch attached > > thanks, > iain Applied. Thank you for your contribution. (Next time please as properly git-format-patch formatted patch and against git master!) Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] ticket #79 - disable IPv6 support

2009-02-12 Thread Iain Hibbert
Lennart Poettering wrote: > On Wed, 11.02.09 11:12, Iain Hibbert (plunky at rya-online.net) wrote: > > Patch looks mostly good. Except this: > > > -if (connect(fd, af == AF_INET ? (struct sockaddr*) &sa4 : (struct > > sockaddr*) &sa6, (socklen_t) (af == AF_INET ? sizeof(sa4) : sizeof(sa6))) <

Re: [pulseaudio-discuss] ticket #79 - disable IPv6 support

2009-02-11 Thread Lennart Poettering
On Wed, 11.02.09 11:12, Iain Hibbert (plu...@rya-online.net) wrote: Patch looks mostly good. Except this: > -if (connect(fd, af == AF_INET ? (struct sockaddr*) &sa4 : (struct > sockaddr*) &sa6, (socklen_t) (af == AF_INET ? sizeof(sa4) : sizeof(sa6))) < > 0) { > +if (af == AF_INET && con

Re: [pulseaudio-discuss] ticket #79 - disable IPv6 support

2009-02-11 Thread Jim Carter
On Wed, 11 Feb 2009, Iain Hibbert wrote: > I have worked on this, and new complete patch is attached - added > HAVE_IPV6 to the config.h file and the configure script enables it by > default, providing a '-disable-ipv6' option to turn it off if required. I > didn't make an actual 'test for IPv6' a

Re: [pulseaudio-discuss] ticket #79 - disable IPv6 support

2009-02-11 Thread Iain Hibbert
On Tue, 10 Feb 2009, Jim Carter wrote: > On Sat, 7 Feb 2009, Iain Hibbert wrote: > > > I found a need to disable IPv6 support and found that this was discussed > > in ticket #79 but closed with "send a patch if you want it" comment but > > nobody seems to have done so. > > > > I have prepared a pat

Re: [pulseaudio-discuss] ticket #79 - disable IPv6 support

2009-02-10 Thread Jim Carter
On Sat, 7 Feb 2009, Iain Hibbert wrote: > I found a need to disable IPv6 support and found that this was discussed > in ticket #79 but closed with "send a patch if you want it" comment but > nobody seems to have done so. > > I have prepared a patch to allow this, see "pa.diff" attached. If INET6

[pulseaudio-discuss] ticket #79 - disable IPv6 support

2009-02-09 Thread Iain Hibbert
Hi, I found a need to disable IPv6 support and found that this was discussed in ticket #79 but closed with "send a patch if you want it" comment but nobody seems to have done so. I have prepared a patch to allow this, see "pa.diff" attached. If INET6 is defined, IPv6 support is built, otherwise n