]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
pass in the correct operator
authorAlan T. DeKok <aland@freeradius.org>
Tue, 5 Sep 2023 14:18:53 +0000 (10:18 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 5 Sep 2023 14:18:53 +0000 (10:18 -0400)
src/lib/util/calc.c

index b413a178d4a2541c814f01bd848836de463962a5..fbe782352eeeebca74b138b3535da6f43678a473 100644 (file)
@@ -1945,7 +1945,7 @@ int fr_value_calc_binary_op(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_type_t hint
                        break;
 
                default:
-                       return handle_result(a->type, T_LSHIFT, ERR_INVALID);
+                       return handle_result(a->type, op, ERR_INVALID);
                }
        } while (0);