]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Skip to next xlat arg after handling empty group
authorNick Porter <nick@portercomputing.co.uk>
Mon, 16 Sep 2024 20:17:16 +0000 (21:17 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 16 Sep 2024 20:17:40 +0000 (21:17 +0100)
src/lib/unlang/xlat_eval.c

index 7ef9022d1e120f5dbee9cf6c9444d8eccfa0f9d7..10dff0f4283c4ed1060734400c6cda63535a4e0c 100644 (file)
@@ -479,7 +479,7 @@ xlat_action_t xlat_process_args(TALLOC_CTX *ctx, fr_value_box_list_t *list,
                                switch (arg_p->variadic) {
                                case XLAT_ARG_VARIADIC_EMPTY_SQUASH:
                                        fr_value_box_list_talloc_free_head(list);
-                                       continue;
+                                       goto do_next;
 
                                case XLAT_ARG_VARIADIC_EMPTY_KEEP:
                                        goto empty_ok;