From: Alan T. DeKok Date: Tue, 8 Jun 2021 15:32:13 +0000 (-0400) Subject: move label X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2aa8f0e6a49bb51104e1122286a90c0fe8addbc;p=thirdparty%2Ffreeradius-server.git move label --- diff --git a/src/protocols/dhcpv4/encode.c b/src/protocols/dhcpv4/encode.c index e04f52bd90e..f7ac48ce39c 100644 --- a/src/protocols/dhcpv4/encode.c +++ b/src/protocols/dhcpv4/encode.c @@ -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); }