@@ -198,7 +198,6 @@ int flb_help_input(struct flb_input_instance *ins, void **out_buf, size_t *out_s
198198 msgpack_sbuffer mp_sbuf ;
199199 msgpack_packer mp_pck ;
200200 int options_size = 0 ;
201- struct mk_list * tls_config ;
202201 struct flb_config_map m_input_net_listen = {
203202 .type = FLB_CONFIG_MAP_STR ,
204203 .name = "listen" ,
@@ -251,10 +250,6 @@ int flb_help_input(struct flb_input_instance *ins, void **out_buf, size_t *out_s
251250 if ((ins -> flags & (FLB_INPUT_NET | FLB_INPUT_NET_SERVER )) != 0 ) {
252251 options_size += 3 ;
253252 }
254- if (ins -> flags & FLB_IO_OPT_TLS ) {
255- tls_config = flb_tls_get_config_map (ins -> config );
256- options_size += mk_list_size (tls_config );
257- }
258253
259254 msgpack_pack_array (& mp_pck , options_size );
260255
@@ -263,13 +258,6 @@ int flb_help_input(struct flb_input_instance *ins, void **out_buf, size_t *out_s
263258 pack_config_map_entry (& mp_pck , & m_input_net_host );
264259 pack_config_map_entry (& mp_pck , & m_input_net_port );
265260 }
266- if (ins -> flags & FLB_IO_OPT_TLS ) {
267- mk_list_foreach (head , tls_config ) {
268- m = mk_list_entry (head , struct flb_config_map , _head );
269- pack_config_map_entry (& mp_pck , m );
270- }
271- flb_config_map_destroy (tls_config );
272- }
273261
274262 mk_list_foreach (head , config_map ) {
275263 m = mk_list_entry (head , struct flb_config_map , _head );
0 commit comments