summaryrefslogtreecommitdiff
path: root/net/openslp/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'net/openslp/patches/patch-ak')
-rw-r--r--net/openslp/patches/patch-ak30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/openslp/patches/patch-ak b/net/openslp/patches/patch-ak
new file mode 100644
index 00000000000..2d3f6d62943
--- /dev/null
+++ b/net/openslp/patches/patch-ak
@@ -0,0 +1,30 @@
+$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:
+