summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
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, ".");