summaryrefslogtreecommitdiffstats
path: root/ulogd/extensions/ulogd_LOCAL.c
Commit message (Collapse)AuthorAgeFilesLines
* Patches from Marius Tomaschewski <mt@suse.de>:/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2007-05-281-0/+1
| | | | | | | | | - Fixed sigterm_handler to close logfile and then call output_plugin->fini. The output_plugin->fini function may still use the logger (e.g. sqlite3 does), what causes a SEGV (really happens in case of sqlite3 db init error - as far as I remember) - Changed sighup_handler_print to not to call exit(2) on reopen failure, but try to reopen and fallback to continue using old descriptor on failure. - Fixed mac output in ulogd_BASE.c - Added explicit termination of the hostname buffer: "[...] if namelen is an insufficient length to hold the host name, then the returned name is truncated and it is unspecified whether the returned name is null-terminated. [...]" as SUSv2 specifies. - Added to print "\n" after ULOGD_RET_NONE type as well after an unspecified type. See example above at extensions/ulogd_BASE.c. - Fixed to set the '\0' at the end and not behind the buffer.
* fix coding style, use c99 initializers, hostname ends with first '.' in namelaforge2005-02-121-34/+35
|
* fix various compiler warningslaforge2003-08-231-2/+2
|
* General code cleanup by Roberto Nibali:laforge2002-12-091-0/+1
| | | | | | | | | - linking for dlopen() needs to be after the object generation - fix small typo in Rules.make.in - #ifdef DEBUG all functions that are not used - add missing #include's - fix sloppy braceing - added return for 'int main()'
* fix include paths.laforge2002-12-091-1/+1
|
* rename ulogd_LOCALTIME into ulogd_LOCAL, add local.hostname taglaforge2008-03-011-0/+99
(Martin Kähmer)