types FEATURE support identityref data type values
diff --git a/tools/re/main.c b/tools/re/main.c
index fa76662..bb6e13a 100644
--- a/tools/re/main.c
+++ b/tools/re/main.c
@@ -272,7 +272,7 @@
}
type = ((struct lysc_node_leaf*)mod->compiled->data)->type;
- match = type->plugin->validate(ctx, type, str, strlen(str), LY_TYPE_OPTS_VALIDATE, NULL, &err, NULL);
+ match = type->plugin->validate(ctx, type, str, strlen(str), LY_TYPE_OPTS_VALIDATE, NULL, NULL, NULL, &err, NULL);
if (verbose) {
for (i = 0; i < patterns_count; i++) {
fprintf(stdout, "pattern %d: %s\n", i + 1, patterns[i]);