fix: ci
parent
211b1c2785
commit
b3f9425d70
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue