aboutsummaryrefslogtreecommitdiffstats
path: root/main/dropbear/dropbear-options_sftp-server_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/dropbear/dropbear-options_sftp-server_path.patch')
-rw-r--r--main/dropbear/dropbear-options_sftp-server_path.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/dropbear/dropbear-options_sftp-server_path.patch b/main/dropbear/dropbear-options_sftp-server_path.patch
index 4262fdf2098..9eee8d4436d 100644
--- a/main/dropbear/dropbear-options_sftp-server_path.patch
+++ b/main/dropbear/dropbear-options_sftp-server_path.patch
@@ -1,11 +1,11 @@
---- a/options.h
-+++ b/options.h
-@@ -289,7 +289,7 @@
- * OpenSSH), set the path below. If the path isn't defined, sftp will not
- * be enabled */
- #ifndef SFTPSERVER_PATH
+--- a/default_options.h
++++ b/default_options.h
+@@ -250,7 +250,7 @@
+ * OpenSSH), set the path below and set DROPBEAR_SFTPSERVER.
+ * The sftp-server program is not provided by Dropbear itself */
+ #define DROPBEAR_SFTPSERVER 1
-#define SFTPSERVER_PATH "/usr/libexec/sftp-server"
+#define SFTPSERVER_PATH "/usr/lib/ssh/sftp-server"
- #endif
/* This is used by the scp binary when used as a client binary. If you're
+ * not using the Dropbear client, you'll need to change it */