summaryrefslogtreecommitdiffstats
path: root/package/nbd/nbd-server-susv3-legacy.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-02-03 20:57:30 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-02-03 20:57:30 +0100
commit67a284d82040d03647fc0e09134cb9e6f367dacd (patch)
treef27d6df69d665982beb3a6e2e162286b0f3c8e3d /package/nbd/nbd-server-susv3-legacy.patch
parentc317439d4d9e5da8c22371b33a34260b8ec0d5ac (diff)
downloadbuildroot-novena-67a284d82040d03647fc0e09134cb9e6f367dacd.tar.gz
buildroot-novena-67a284d82040d03647fc0e09134cb9e6f367dacd.zip
nbd: add server patches missing from 6aac003
Somehow these patches never got added. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/nbd/nbd-server-susv3-legacy.patch')
-rw-r--r--package/nbd/nbd-server-susv3-legacy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/nbd/nbd-server-susv3-legacy.patch b/package/nbd/nbd-server-susv3-legacy.patch
new file mode 100644
index 000000000..58d38e150
--- /dev/null
+++ b/package/nbd/nbd-server-susv3-legacy.patch
@@ -0,0 +1,11 @@
+--- nbd-2.9.11/nbd-server.c 2009-10-01 16:10:15.000000000 +0200
++++ nbd-2.9.11/nbd-server.c 2009-10-01 16:10:32.000000000 +0200
+@@ -264,7 +264,7 @@
+
+ inet_aton(opts->clientname, &client);
+ while (fgets(line,LINELEN,f)!=NULL) {
+- if((tmp=index(line, '/'))) {
++ if((tmp=strchr(line, '/'))) {
+ if(strlen(line)<=tmp-line) {
+ msg4(LOG_CRIT, ERRMSG, line, opts->server->authname);
+ return 0;