Change connect_by_number() so that SERVICE_SERVER sockets are always bound to

IPv4 even on an IPv6-enabled client.  This fixes /detach and wserv when
compiling with --enable-ipv6.

This does also mean that the internal identd, if used, won't listen on IPv6
either.  This isn't a problem yet, since the internal identd is used only on
WINNT and we don't support IPv6 there yet.

This will also need tweaking to support initiating DCC-over-IPv6.

Thanks to snadge and packet for working on this bug.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@162 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2012-04-29 12:15:57 +00:00
parent 10d5ab5a18
commit 3090365354
2 changed files with 12 additions and 14 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2c01]
* Fix /detach and wserv with IPv6 enabled. (caf, snadge, packet)
* Make default for NICK_COMPLETION_CHAR explicit. (caf)
* Reduce footprint when starting up disconnected. (caf)