network: Initialise cidr_ like clearIface() does

This commit is contained in:
Anthony PERARD 2021-05-15 16:38:00 +01:00
parent cf3d6545c3
commit dbc06abf18
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ waybar::modules::Network::Network(const std::string &id, const Json::Value &conf
family_(config["family"] == "ipv6" ? AF_INET6 : AF_INET), family_(config["family"] == "ipv6" ? AF_INET6 : AF_INET),
efd_(-1), efd_(-1),
ev_fd_(-1), ev_fd_(-1),
cidr_(-1), cidr_(0),
signal_strength_dbm_(0), signal_strength_dbm_(0),
signal_strength_(0), signal_strength_(0),
#ifdef WANT_RFKILL #ifdef WANT_RFKILL