mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: typo
This commit is contained in:
parent
841576497a
commit
45ebee52a6
@ -435,7 +435,7 @@ int waybar::modules::Network::handleEvents(struct nl_msg *msg, void *data) {
|
|||||||
auto rtif = static_cast<struct ifinfomsg *>(NLMSG_DATA(nh));
|
auto rtif = static_cast<struct ifinfomsg *>(NLMSG_DATA(nh));
|
||||||
char ifname[IF_NAMESIZE];
|
char ifname[IF_NAMESIZE];
|
||||||
if_indextoname(rtif->ifi_index, ifname);
|
if_indextoname(rtif->ifi_index, ifname);
|
||||||
// Auto detected network must be assigned here
|
// Auto detected network can also be assigned here
|
||||||
if (net->checkInterface(rtif->ifi_index, ifname) && net->ifid_ == -1) {
|
if (net->checkInterface(rtif->ifi_index, ifname) && net->ifid_ == -1) {
|
||||||
net->linked_ = true;
|
net->linked_ = true;
|
||||||
net->ifname_ = ifname;
|
net->ifname_ = ifname;
|
||||||
|
Loading…
Reference in New Issue
Block a user