Displaying 1 result from an estimated 1 matches for "acceptremote".
1997 Sep 03
0
Sysklogd''s -r option
...ut this).
Here is a patch to fix this:
--- sysklogd-1.3/syslogd.c-o	Wed Sep  3 22:19:26 1997
+++ sysklogd-1.3/syslogd.c	Wed Sep  3 22:19:39 1997
@@ -791,7 +791,7 @@
 					(char *) &on, sizeof(on)) < 0 ) {
 				logerror("setsockopt, suspending inet");
 			}
-			else {
+			else if (AcceptRemote) {
 				if (bind(finet, (struct sockaddr *) &sin, \
 					 sizeof(sin)) < 0) {
 					logerror("bind, suspending inet");
@@ -1834,7 +1834,7 @@
 	/* Close the sockets. */
         close(funix);
-	close(inetm);
+	if (InetInuse) close(inetm);
 	/* Clean-up files. */
 	(void) unlink(L...