reopen 302081
thanks

Debian Bug Tracking System, le Mon 14 Apr 2008 23:24:06 +0000, a écrit :
> From: Sylvain Le Gall <[EMAIL PROTECTED]>
> 
> Unison has been rebuilt against ocaml 3.10.1. This should be enough to
> reactivate IPV6 support.

Eeerrr, how could rebuilding against 3.10.1 ever magically provide IPv6
support?!  See my patch

> -      (* Open a socket to listen for queries *)
> -      let listening = Unix.socket Unix.PF_INET Unix.SOCK_STREAM 0 in

That code will always create an IPv4 socket, not an IPv6 one.  See
netstat if you don't believe me:

$ dpkg -l unison
ii  unison         2.13.16-9+b1   A file-synchronization tool for Unix and Win
$ unison -socket 1234 &
$ netstat -Ainet6 -p | grep 1234
$ netstat -Ainet -p | grep 1234
tcp        0      0 0.0.0.0:1234            0.0.0.0:*               LISTEN      
7510/unison     
$ telnet ::1 1234
Trying ::1...
telnet: Unable to connect to remote host: Connection refused

Samuel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to