openwrt / netifd

[MIRROR] OpenWrt Network interface configuration daemon
https://git.openwrt.org/?p=project/netifd.git;
17 stars 19 forks source link

device: add ubus event for link state change #23

Open rthakur33 opened 5 months ago

rthakur33 commented 5 months ago

Add a ubus event network.device for link state change to generate an event when the link goes up and down.

The event looks as follows: { "network.device": {"ifname":"eth3","link":"down"} }