]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
move label
authorAlan T. DeKok <aland@freeradius.org>
Tue, 8 Jun 2021 15:32:13 +0000 (11:32 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 8 Jun 2021 15:32:13 +0000 (11:32 -0400)
src/protocols/dhcpv4/encode.c

index e04f52bd90ef3de0961a293ddd8dcc04054edfe9..f7ac48ce39cffb76d4dfd85a3efacde9f32799e0 100644 (file)
@@ -303,7 +303,6 @@ static ssize_t encode_option_data(fr_dbuff_t *dbuff,
        fr_dbuff_t work_dbuff;
 
        if (da_stack->da[depth + 1]) {
-       encode_normal:
                /*
                 *      Determine the nested type and call the appropriate encoder
                 */
@@ -311,6 +310,7 @@ static ssize_t encode_option_data(fr_dbuff_t *dbuff,
                        return encode_tlv_hdr(dbuff, da_stack, depth + 1, cursor, encode_ctx);
                }
 
+       encode_normal:
                return encode_rfc_hdr(dbuff, da_stack, depth + 1, cursor, encode_ctx);
        }