mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
network: Initialise cidr_ like clearIface() does
This commit is contained in:
parent
cf3d6545c3
commit
dbc06abf18
@ -86,7 +86,7 @@ waybar::modules::Network::Network(const std::string &id, const Json::Value &conf
|
||||
family_(config["family"] == "ipv6" ? AF_INET6 : AF_INET),
|
||||
efd_(-1),
|
||||
ev_fd_(-1),
|
||||
cidr_(-1),
|
||||
cidr_(0),
|
||||
signal_strength_dbm_(0),
|
||||
signal_strength_(0),
|
||||
#ifdef WANT_RFKILL
|
||||
|
Loading…
Reference in New Issue
Block a user