summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-26 10:01:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-26 10:01:40 +0000
commit99936729cdd81a628b61e62197069ab2e3ea7a58 (patch)
treed4c32c4d2cc0d97405fcd8eb99dacf73a850ea09 /net.h
parentf383030d3bfb9ea560c6377a5f3655c4c486fd2b (diff)
downloadrsyslog-99936729cdd81a628b61e62197069ab2e3ea7a58.tar.gz
rsyslog-99936729cdd81a628b61e62197069ab2e3ea7a58.tar.xz
rsyslog-99936729cdd81a628b61e62197069ab2e3ea7a58.zip
moved cross-platform define for AI_NUMERICSERV to net.h
Diffstat (limited to 'net.h')
-rw-r--r--net.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/net.h b/net.h
index 1164e33f..8eab9196 100644
--- a/net.h
+++ b/net.h
@@ -71,5 +71,18 @@ static inline size_t SALEN(struct sockaddr *sa) {
rsRetVal cvthname(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN);
+/* IPv6 compatibility layer for older platforms
+ * We need to handle a few things different if we are running
+ * on an older platform which does not support all the glory
+ * of IPv6. We try to limit toll on features and reliability,
+ * but obviously it is better to run rsyslog on a platform that
+ * supports everything...
+ * rgerhards, 2007-06-22
+ */
+#ifndef AI_NUMERICSERV
+# define AI_NUMERICSERV 0
+#endif
+
+
#endif /* #ifdef SYSLOG_INET */
#endif /* #ifndef INCLUDED_NET_H */