]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print data types just to be helpful
authorAlan T. DeKok <aland@freeradius.org>
Fri, 27 May 2022 19:48:18 +0000 (15:48 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 3 Jun 2022 11:15:45 +0000 (07:15 -0400)
src/lib/unlang/xlat_tokenize.c

index ab3f810937a3f747876c82b17933da33a3d9b10a..a481c1d4575e2417654db841edabda618b9664d6 100644 (file)
@@ -1114,6 +1114,8 @@ static void _xlat_debug(xlat_exp_head_t const *head, int depth)
                                        }
                                        INFO_INDENT("}");
                                }
+                       } else if (tmpl_is_data(node->vpt)) {
+                               INFO_INDENT("tmpl (%s) type %s", node->fmt, fr_type_to_str(tmpl_value_type(node->vpt)));
                        } else {
                                INFO_INDENT("tmpl (%s)", node->fmt);
                        }