]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Wed, 13 Nov 2019 16:41:44 +0000 (11:41 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 13 Nov 2019 16:41:44 +0000 (11:41 -0500)
src/protocols/dhcpv4/base.c
src/protocols/dhcpv6/base.c

index 570a62cd3e54882fffc8562ae52680a69ff6cc70..4b31cc55cad36ae39fa0b8904275354229b6c6e8 100644 (file)
@@ -652,7 +652,7 @@ static bool attr_valid(UNUSED fr_dict_t *dict, UNUSED fr_dict_attr_t const *pare
                return false;
        }
 
-       if (flags.has_tag) {
+       if (flags->has_tag) {
                fr_strerror_printf("Tagged attributes cannot be used with DHCP");
                return false;
        }
index 83ab8ccaf409a3dab72328a0a59e21c4997d264e..636e0ad012e1ee448c8913eadce12426a181ea64 100644 (file)
@@ -630,7 +630,7 @@ static bool attr_valid(UNUSED fr_dict_t *dict, UNUSED fr_dict_attr_t const *pare
                return false;
        }
 
-       if (flags.has_tag) {
+       if (flags->has_tag) {
                fr_strerror_printf("Tagged attributes cannot be used with DHCP");
                return false;
        }