mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
fix: typo
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user