Commit 11aae1de authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

lldp: start service only when link is up

parent 4a1fc7ab
Pipeline #531 passed with stage
in 23 seconds
......@@ -308,7 +308,8 @@ static void create_tasks(void)
#endif
#ifdef CONFIG_LLDP
wrc_task_create( "lldp", lldp_init, lldp_poll );
t = wrc_task_create( "lldp", lldp_init, lldp_poll );
wrc_task_set_enable( t, is_link_up );
#endif
#ifdef CONFIG_SNMP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment