]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo in name match
authorAlan T. DeKok <aland@freeradius.org>
Sat, 28 Feb 2026 13:37:35 +0000 (08:37 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 28 Feb 2026 13:38:12 +0000 (08:38 -0500)
src/lib/server/section.h

index 7c8c1ae778cd16c3a88080d07a96f37d197ea5d1..b7586de461eafbcaa23a33add91839f09f670c60 100644 (file)
@@ -83,7 +83,7 @@ static inline int section_name2_match(section_name_t const *a, section_name_t co
  */
 static inline int section_name_match(section_name_t const *a, section_name_t const *b)
 {
-       if ((a->name1 == CF_IDENT_ANY) || (b->name2 == CF_IDENT_ANY)) goto name2;
+       if ((a->name1 == CF_IDENT_ANY) || (b->name1 == CF_IDENT_ANY)) goto name2;
 
        if (strcmp(a->name1, b->name1) != 0) return -1;