mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
refactor: add retry to get external interface
This commit is contained in:
@@ -20,6 +20,8 @@ class Network : public ALabel {
|
||||
~Network();
|
||||
auto update() -> void;
|
||||
private:
|
||||
static const uint8_t MAX_RETRY = 10;
|
||||
|
||||
static int handleEvents(struct nl_msg*, void*);
|
||||
static int handleScan(struct nl_msg*, void*);
|
||||
|
||||
|
Reference in New Issue
Block a user