da654c9ea2
The log file needs to be writable for user=daemon, since slpd setuid()s to that user after starting up. Put the extremely verbose and disk-filling logging of "Parse Erorr" packets (is this an SLPv1 vs. SLPv2 protocol versioning issue gone bad?!?) under DEBUG, which is not normally turned on in our builds. Change HOMEPAGE, since Caldera appears to have seen fit to remove the www.openslp.org DNS name and associated web server. Instead point to the SourceForge home page. Bump package revision to 1.
30 lines
791 B
Text
30 lines
791 B
Text
$NetBSD: patch-ak,v 1.1 2006/07/13 13:42:36 he Exp $
|
|
|
|
--- slpd/slpd_process.c.orig 2005-02-08 07:12:24.000000000 +0100
|
|
+++ slpd/slpd_process.c
|
|
@@ -1438,10 +1438,12 @@ int SLPDProcessMessage(struct sockaddr_i
|
|
break;
|
|
}
|
|
}
|
|
+#ifdef DEBUG
|
|
else
|
|
{
|
|
SLPDLogParseWarning(peerinfo, recvbuf);
|
|
}
|
|
+#endif
|
|
|
|
if (header.functionid == SLP_FUNCT_SRVREG ||
|
|
header.functionid == SLP_FUNCT_DAADVERT )
|
|
@@ -1470,10 +1472,12 @@ int SLPDProcessMessage(struct sockaddr_i
|
|
errorcode = SLP_ERROR_INTERNAL_ERROR;
|
|
}
|
|
}
|
|
+#ifdef DEBUG
|
|
else
|
|
{
|
|
SLPDLogParseWarning(peerinfo,recvbuf);
|
|
}
|
|
+#endif
|
|
|
|
FINISHED:
|
|
|