pull/475/head
Alex 2019-09-25 09:59:07 +01:00
parent 211b1c2785
commit b3f9425d70
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ bool waybar::modules::Network::checkInterface(struct ifinfomsg *rtif, std::strin
return false; return false;
} }
int waybar::modules::Network::getPreferredIface(int skip_idx, bool wait = true) const { int waybar::modules::Network::getPreferredIface(int skip_idx, bool wait) const {
int ifid = -1; int ifid = -1;
if (config_["interface"].isString()) { if (config_["interface"].isString()) {
ifid = if_nametoindex(config_["interface"].asCString()); ifid = if_nametoindex(config_["interface"].asCString());