summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-29 16:59:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-29 16:59:33 +0000
commitdd5a12c5a10953000a3b29e9801b429523d8ae65 (patch)
treead8e6363ae9d87f202fcb2e5bbc1aec2dc5168c6 /package/network
parentad52658be722f2024dd645a1a7228209e8bf7c23 (diff)
downloadmtk-20170518-dd5a12c5a10953000a3b29e9801b429523d8ae65.zip
mtk-20170518-dd5a12c5a10953000a3b29e9801b429523d8ae65.tar.gz
mtk-20170518-dd5a12c5a10953000a3b29e9801b429523d8ae65.tar.bz2
dropbear: fix interface config setting
Patch from #15070 SVN-Revision: 40298
Diffstat (limited to 'package/network')
-rwxr-xr-xpackage/network/services/dropbear/files/dropbear.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init
index ebef526..93dc3d9 100755
--- a/package/network/services/dropbear/files/dropbear.init
+++ b/package/network/services/dropbear/files/dropbear.init
@@ -72,8 +72,8 @@ dropbear_instance()
[ -n "${rsakeyfile}" ] && procd_append_param command -r "${rsakeyfile}"
[ -n "${dsskeyfile}" ] && procd_append_param command -d "${dsskeyfile}"
[ -n "${BannerFile}" ] && procd_append_param command -b "${BannerFile}"
- [ -n "${interface}" ] && network_get_device interface "${interface}"
- append_ports "${interface}" "${Port}"
+ [ -n "${Interface}" ] && network_get_device Interface "${Interface}"
+ append_ports "${Interface}" "${Port}"
procd_close_instance
}