]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Mon, 28 Aug 2023 21:49:34 +0000 (17:49 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 28 Aug 2023 21:49:34 +0000 (17:49 -0400)
src/lib/util/regex.c

index ed62dc41883a00d8616bf2e5cb8eec3752b26b75..1143dcd8a3736654e8b59e5217f864773eb388a4 100644 (file)
@@ -1394,7 +1394,7 @@ int fr_regex_cmp_op(fr_token_t op, fr_value_box_t const *a, fr_value_box_t const
 
        } else {
                lhs = a->vb_strvalue;
-               lhs_len = b->vb_length;
+               lhs_len = a->vb_length;
        }
 
        if (regex_compile(ctx, &regex, b->vb_strvalue, b->vb_length, NULL, false, true) < 0) {