Mailing List Archive

[openssh] 02/02: Add AI_NUMERICSERV to fake-rfc2553.
This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit c9c88355c6a27a908e7d1e5003a2b35ea99c1614
Author: Darren Tucker <dtucker@zip.com.au>
Date: Tue Feb 24 13:43:57 2015 +1100

Add AI_NUMERICSERV to fake-rfc2553.

Our getaddrinfo implementation always returns numeric values already.
---
openbsd-compat/fake-rfc2553.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h
index 3e9090f..6426f7b 100644
--- a/openbsd-compat/fake-rfc2553.h
+++ b/openbsd-compat/fake-rfc2553.h
@@ -109,6 +109,9 @@ struct sockaddr_in6 {
#ifndef AI_NUMERICHOST
# define AI_NUMERICHOST (1<<2)
#endif
+#ifndef AI_NUMERICSERV
+# define AI_NUMERICSERV (1<<3)
+#endif

#ifndef NI_MAXSERV
# define NI_MAXSERV 32

--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits