]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix up args for %log.destination()
authorNick Porter <nick@portercomputing.co.uk>
Thu, 4 Apr 2024 17:31:13 +0000 (18:31 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 4 Apr 2024 17:31:13 +0000 (18:31 +0100)
So they're individual value boxes rather than groups

src/lib/unlang/xlat_builtin.c

index d1837191d6394c7f289bc1551d18c9a270ba714e..afe224133b51de5023ff757355f18fe99618c5ec 100644 (file)
@@ -1180,9 +1180,9 @@ static int _log_dst_free(fr_log_t *log)
 }
 
 static xlat_arg_parser_t const xlat_func_log_dst_args[] = {
-       { .required = true, .type = FR_TYPE_STRING },
-       { .required = false, .type = FR_TYPE_UINT32 },
-       { .required = false, .type = FR_TYPE_STRING },
+       { .required = true, .type = FR_TYPE_STRING, .concat = true },
+       { .required = false, .type = FR_TYPE_UINT32, .single = true },
+       { .required = false, .type = FR_TYPE_STRING, .concat = true },
        XLAT_ARG_PARSER_TERMINATOR
 };