瀏覽代碼

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 <[email protected]>
Konstantin Demin 6 年之前
父節點
當前提交
6145e59881
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/network/services/dropbear/files/dropbear.init

+ 1 - 1
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' \