]> git.sesse.net Git - vlc/commit
- When both IPv4 and IPv6 plugins return a socket, use the IPv6 one if
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 2 Aug 2005 15:31:47 +0000 (15:31 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 2 Aug 2005 15:31:47 +0000 (15:31 +0000)
commit331d097fe55bb2c33aa824d97f8f9301003cd030
treeb491feb075bd8452d1446b6c3f671f0b80b949e6
parent8e916c3718a60630bf8fbae3db7fa6c1a50baaf7
- When both IPv4 and IPv6 plugins return a socket, use the IPv6 one if
  IPV6_ONLY can be turned off. It is supposed to be off by default, and
  it actually is. Unfortunately, OpenBSD and NetBSD people think
  network software programmer like us are too stupid to use this
  feature properly, so they just removed it. Lets say the most stupid
  are not always the ones one think. Also, Windows doesn't support this
  yet. On all these OSes, keep the old behavior; that is prefer IPv4.
  Closes #166.

- Windows protection level compile fix
include/network.h
modules/misc/network/ipv4.c
modules/misc/network/ipv6.c
src/misc/net.c