]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix typos in error message
authorAlan T. DeKok <aland@freeradius.org>
Mon, 29 Dec 2025 13:09:50 +0000 (08:09 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 29 Dec 2025 13:09:50 +0000 (08:09 -0500)
src/lib/util/dict_ext.c

index df1316b79126ecc3dd47c94e497c1be401c45b45..a3f6459485c0ee4bd37b2857ea1d1cce9e975858 100644 (file)
@@ -197,14 +197,14 @@ static int dict_ext_protocol_specific_copy(UNUSED int ext,
        if (unlikely(from_proto->attr.flags.len != src_ext_len)) {
                fr_strerror_printf("Protocol specific extension length mismatch in source attribute %s.  Expected %zu, got %zu",
                                   from->name,
-                                  fr_dict_protocol(from->dict)->attr.flags.len, fr_dict_protocol(to->dict)->attr.flags.len);
+                                  fr_dict_protocol(from->dict)->attr.flags.len, src_ext_len);
                return -1;
        }
 
        if (unlikely(to_proto->attr.flags.len != dst_ext_len)) {
-               fr_strerror_printf("Protocol specific extension length mismatch in destintion attribute %s.  Expected %zu, got %zu",
+               fr_strerror_printf("Protocol specific extension length mismatch in destination attribute %s.  Expected %zu, got %zu",
                                   to->name,
-                                  fr_dict_protocol(to->dict)->attr.flags.len, fr_dict_protocol(to->dict)->attr.flags.len);
+                                  fr_dict_protocol(to->dict)->attr.flags.len, dst_ext_len);
                return -1;
        }