summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-05-03 19:02:56 +0200
committerFelix Fietkau <nbd@openwrt.org>2008-05-03 19:02:56 +0200
commit6c020def580232b9188232f044184c575a716cda (patch)
treee1bc11637a28b031bcb448e236da33d09e543839 /util.c
parent3232be5d642dd8dc4e718a3c534a8e413ce0f49b (diff)
downloaduci-6c020def580232b9188232f044184c575a716cda.tar.gz
allow more types of characters for uci package namesv0.3.4
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index a85ec9b..8542359 100644
--- a/util.c
+++ b/util.c
@@ -120,7 +120,7 @@ int uci_parse_tuple(struct uci_context *ctx, char *str, char **package, char **s
}
*package = strsep(&str, ".");
- if (!*package || !uci_validate_name(*package))
+ if (!*package || !uci_validate_str(*package, false))
goto error;
*section = strsep(&str, ".");