dropbear: change type of config option "Port" to scalar type "port"
authorKonstantin Demin <rockdrilla@gmail.com>
Mon, 25 Mar 2019 18:42:09 +0000 (21:42 +0300)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 25 Mar 2019 21:25:34 +0000 (22:25 +0100)
it was never used anywhere, even LuCI works with "Port" as scalar type.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
package/network/services/dropbear/files/dropbear.init

index 506f7dac654572b6cfc6e6a7f8bf607f1e09e423..b830ddcc5aed3a52aa86827f891f77bb94873197 100755 (executable)
@@ -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' \