summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net.h12
-rw-r--r--syslogd.c13
2 files changed, 12 insertions, 13 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 */
diff --git a/syslogd.c b/syslogd.c
index bcc9cdaf..cc8afbc5 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -282,19 +282,6 @@
#define _PATH_TTY "/dev/tty"
#endif
-/* 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
-
-
static uchar *ConfFile = (uchar*) _PATH_LOGCONF; /* read-only after startup */
static char *PidFile = _PATH_LOGPID; /* read-only after startup */
static uchar *pModDir = NULL; /* read-only after startup */