* Fixed small typo in syslogd-listfiles
* Corrected debug output concerning remote receiption * Removed race condition in syslogd-listfiles * Modified logfile detection routine to take care of double listed logfiles. Thanks to Roman Hodek <roman@debian.org> for providing an appropriate patch. (Bug#17000)
This commit is contained in:
parent
e9b180bb9b
commit
5a279c7af7
10
syslogd.c
10
syslogd.c
@ -334,6 +334,9 @@ static char sccsid[] = "@(#)syslogd.c 5.27 (Berkeley) 10/10/88";
|
|||||||
* Sat Jan 10 01:33:06 CET 1998: Martin Schulze <joey@infodrom.north.de>
|
* Sat Jan 10 01:33:06 CET 1998: Martin Schulze <joey@infodrom.north.de>
|
||||||
* Fixed small bugs in F_FORW_UNKN meachanism. Thanks to Torsten
|
* Fixed small bugs in F_FORW_UNKN meachanism. Thanks to Torsten
|
||||||
* Neumann <torsten@londo.rhein-main.de> for pointing me to it.
|
* Neumann <torsten@londo.rhein-main.de> for pointing me to it.
|
||||||
|
*
|
||||||
|
* Mon Jan 12 19:50:58 CET 1998: Martin Schulze <joey@infodrom.north.de>
|
||||||
|
* Modified debug output concerning remote receiption.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -866,7 +869,8 @@ int main(argc, argv)
|
|||||||
} else {
|
} else {
|
||||||
inetm = finet;
|
inetm = finet;
|
||||||
InetInuse = 1;
|
InetInuse = 1;
|
||||||
dprintf("listening on syslog UDP port.\n");
|
if ( AcceptRemote )
|
||||||
|
dprintf("Opened syslog UDP port.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -917,8 +921,10 @@ int main(argc, argv)
|
|||||||
* Add the Internet Domain Socket to the list of read
|
* Add the Internet Domain Socket to the list of read
|
||||||
* descriptors.
|
* descriptors.
|
||||||
*/
|
*/
|
||||||
if ( InetInuse && AcceptRemote )
|
if ( InetInuse && AcceptRemote ) {
|
||||||
FD_SET(inetm, &readfds);
|
FD_SET(inetm, &readfds);
|
||||||
|
dprintf("Listening on syslog UDP port.\n");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( debugging_on )
|
if ( debugging_on )
|
||||||
|
Loading…
Reference in New Issue
Block a user