mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: ci
This commit is contained in:
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…
x
Reference in New Issue
Block a user