]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix radict to work with nested attributes
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 26 Oct 2021 21:29:26 +0000 (17:29 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 27 Oct 2021 16:16:07 +0000 (12:16 -0400)
src/bin/radict.c

index a0b372f2141b10daf60ae7eeb49005e61694503e..e694a60ccb7c307b7337e1534a480b7582208272 100644 (file)
@@ -374,7 +374,7 @@ int main(int argc, char *argv[])
                do {
                        DEBUG2("Looking for \"%s\" in dict \"%s\"", attr, fr_dict_root(*dict_p)->name);
 
-                       da = fr_dict_attr_by_name(NULL, fr_dict_root(*dict_p), attr);
+                       da = fr_dict_attr_by_oid(NULL, fr_dict_root(*dict_p), attr);
                        if (da) {
                                da_print_info_td(*dict_p, da);
                                found = true;