mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00

In order to get the IP address of an interface, we can get the information out of NEWADDR events without needed to call getifaddrs(). And when now events are expected, we can requests a dump of all addresses and handle addresses changes the same way via handleEvents() only.