aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Demin <rockdrilla@gmail.com>2019-03-25 21:42:09 +0300
committerHans Dedecker <dedeckeh@gmail.com>2019-03-25 22:25:34 +0100
commit6145e59881786bf048663ee4b00e82b286ae8bc9 (patch)
tree46c65fe92e65feab7ab296dac063164b361ec70c
parent5d27b10c61171e9974f5db01445acba5181e03b4 (diff)
downloadupstream-6145e59881786bf048663ee4b00e82b286ae8bc9.tar.gz
upstream-6145e59881786bf048663ee4b00e82b286ae8bc9.tar.bz2
upstream-6145e59881786bf048663ee4b00e82b286ae8bc9.zip
dropbear: change type of config option "Port" to scalar type "port"
it was never used anywhere, even LuCI works with "Port" as scalar type. Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
-rwxr-xr-xpackage/network/services/dropbear/files/dropbear.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init
index 506f7dac65..b830ddcc5a 100755
--- a/package/network/services/dropbear/files/dropbear.init
+++ b/package/network/services/dropbear/files/dropbear.init
@@ -87,7 +87,7 @@ validate_section_dropbear()
'rsakeyfile:file' \
'keyfile:list(file)' \
'BannerFile:file' \
- 'Port:list(port):22' \
+ 'Port:port:22' \
'SSHKeepAlive:uinteger:300' \
'IdleTimeout:uinteger:0' \
'MaxAuthTries:uinteger:3' \