aboutsummaryrefslogtreecommitdiff
path: root/net/openslp/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/openslp/files/patch-ab')
-rw-r--r--net/openslp/files/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/openslp/files/patch-ab b/net/openslp/files/patch-ab
new file mode 100644
index 000000000000..0aec9c001525
--- /dev/null
+++ b/net/openslp/files/patch-ab
@@ -0,0 +1,13 @@
+--- common/slp_compare.c.original Wed Jun 13 13:12:10 2001
++++ common/slp_compare.c Sat Sep 22 22:52:26 2001
+@@ -487,7 +487,9 @@
+
+ if(strncasecmp(srvurl,"service:",8))
+ {
+- return 1;
++ if (strstr(srvurl, ":/") == NULL) {
++ return 1;
++ }
+ }
+
+ /* TODO: make this a little smarter */