diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 10:01:40 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 10:01:40 +0000 |
commit | 99936729cdd81a628b61e62197069ab2e3ea7a58 (patch) | |
tree | d4c32c4d2cc0d97405fcd8eb99dacf73a850ea09 | |
parent | f383030d3bfb9ea560c6377a5f3655c4c486fd2b (diff) | |
download | rsyslog-99936729cdd81a628b61e62197069ab2e3ea7a58.tar.gz rsyslog-99936729cdd81a628b61e62197069ab2e3ea7a58.tar.xz rsyslog-99936729cdd81a628b61e62197069ab2e3ea7a58.zip |
moved cross-platform define for AI_NUMERICSERV to net.h
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | net.h | 13 | ||||
-rw-r--r-- | syslogd.c | 13 |
3 files changed, 16 insertions, 13 deletions
@@ -1,4 +1,7 @@ --------------------------------------------------------------------------- +Version 2.0.0 (rgerhards), 2007-12-26 +- increased portability for older platforms (AI_NUMERICSERV moved) +--------------------------------------------------------------------------- Version 1.21.1 (rgerhards), 2007-12-23 - small doc fix for $IncludeConfig - fixed a bug in llDestroy() @@ -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 */ @@ -311,19 +311,6 @@ #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 */ |