summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-26 09:55:37 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-26 09:55:37 +0000
commit002c04988d4430013496c4cab75e1f024421a45c (patch)
treeb2d2807e8370ea9bb274ce9647dd59cfd8e69720 /net.h
parent2c8eae6a0c00b1e067cca8a1a77b7f9ca4a9e7f3 (diff)
downloadrsyslog-002c04988d4430013496c4cab75e1f024421a45c.tar.gz
rsyslog-002c04988d4430013496c4cab75e1f024421a45c.tar.xz
rsyslog-002c04988d4430013496c4cab75e1f024421a45c.zip
moved cross-platform define for AI_NUMERICSERV to net.h
Diffstat (limited to 'net.h')
-rw-r--r--net.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net.h b/net.h
index cdc4d0ba..6c50f5e9 100644
--- a/net.h
+++ b/net.h
@@ -84,5 +84,17 @@ extern struct AllowedSenders *pAllowedSenders_UDP;
extern struct AllowedSenders *pAllowedSenders_TCP;
extern struct AllowedSenders *pAllowedSenders_GSS;
+/* 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 */