summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-28 11:33:49 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-28 11:33:49 +0000
commit6209089f8dcb5eec5ddc85f2ccafb947858081f9 (patch)
treefbc3713dc7d1a95ad4b9e46f11bffa651dc844c3
parent6dae403ab8c1035bde3edf0170a31b30d57aab40 (diff)
Revert "ubox: the validation code has problems with the "(" char. use string for now"
This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38937 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/system/ubox/files/log.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/ubox/files/log.init b/package/system/ubox/files/log.init
index c1719421f1..1c288a7a08 100644
--- a/package/system/ubox/files/log.init
+++ b/package/system/ubox/files/log.init
@@ -15,7 +15,7 @@ validate_log_section()
'log_size:uinteger' \
'log_ip:ipaddr' \
'log_port:port:514' \
- 'log_proto:string:udp' \
+ 'log_proto:or("tcp", "udp"):udp' \
'log_prefix:string'
return $?
}