[git-commit] Update to branch: master, updated. HYLAFAX-6_0_0-16-g9466bb6

[email protected]
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "HylaFAX".

The branch, master has been updated
       via  9466bb693feae7f082fbde92f8932e8b6ba00514 (commit)
      from  39895ba77a834a4ff578feb9978f3c7d5a0ee5d6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9466bb693feae7f082fbde92f8932e8b6ba00514
Author: Aidan Van Dyk <[email protected]>
Date:   Fri Aug 7 13:42:33 2009 -0400

    IPv6: Rework initial bind
    
    From the getaddrinfo man page:
                        AI_PASSIVE      If the AI_PASSIVE bit is set it indicates
                                        that the returned socket address structure
                                        is intended for use in a call to bind(2).
                                        In this case, if the hostname argument is
                                        the null pointer, then the IP address por-
                                        tion of the socket address structure will
                                        be set to INADDR_ANY for an IPv4 address
                                        or IN6ADDR_ANY_INIT for an IPv6 address.
    
                                        If the AI_PASSIVE bit is not set, the
                                        returned socket address structure will be
                                        ready for use in a call to connect(2) for
                                        a connection-oriented protocol or
                                        connect(2), sendto(2), or sendmsg(2) if a
                                        connectionless protocol was chosen.  The
                                        IP address portion of the socket address
                                        structure will be set to the loopback
                                        address if hostname is the null pointer
                                        and AI_PASSIVE is not set.
    
    We were doing this manually by memset-ing the sockaddr if bindaddress was
    null, but this is the proper way to do it.

-----------------------------------------------------------------------

Summary of changes:
 hfaxd/InetFaxServer.c++ |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
HylaFAX


____________________ HylaFAX(tm) Developers Mailing List ____________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.