refactor: add retry to get external interface

This commit is contained in:
Alex
2019-02-06 10:33:12 +01:00
parent 01cec9fcb7
commit dc9fe04d11
2 changed files with 10 additions and 3 deletions

View File

@ -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*);