[git-commit] Update to branch: 6.0, updated. HYLAFAX-6_0_3-3-g53502bf
| 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, 6.0 has been updated
via 53502bf0d5e185e8ffefba0c90d2334702be9215 (commit)
from 2d0dccab138f69f271616f0a713a3aad00cfc3bb (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 53502bf0d5e185e8ffefba0c90d2334702be9215
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