summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackage/network/services/dropbear/files/dropbear.init2
-rwxr-xr-xpackage/utils/busybox/files/sysntpd2
2 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 97017dd4a8..ebef526390 100755
--- a/package/network/services/dropbear/files/dropbear.init
+++ b/package/network/services/dropbear/files/dropbear.init
@@ -38,7 +38,7 @@ validate_section_dropbear()
'PasswordAuth:bool:1' \
'enable:bool:1' \
'Interface:string' \
- 'GatewayPorts:integer:0' \
+ 'GatewayPorts:bool:0' \
'RootPasswordAuth:bool:1' \
'RootLogin:bool:1' \
'rsakeyfile:file' \
diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
index 7ff32775b6..6475e04d22 100755
--- a/package/utils/busybox/files/sysntpd
+++ b/package/utils/busybox/files/sysntpd
@@ -8,7 +8,7 @@ PROG=/usr/sbin/ntpd
validate_ntp_section() {
uci_validate_section system timeserver "${1}" \
- 'server:list(string)' 'enable_server:bool:0'
+ 'server:list(host)' 'enable_server:bool:0'
}
start_service() {