mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
updated original debug message with gateway ip, similar, yet not identical to ip route
This commit is contained in:
parent
13239417d8
commit
1c91c71dcd
@ -662,7 +662,7 @@ int waybar::modules::Network::handleEvents(struct nl_msg *msg, void *data) {
|
|||||||
net->ifid_ = temp_idx;
|
net->ifid_ = temp_idx;
|
||||||
net->route_priority = priority;
|
net->route_priority = priority;
|
||||||
net->gwaddr_ = temp_gw_addr;
|
net->gwaddr_ = temp_gw_addr;
|
||||||
spdlog::debug("network: new default route via if{} metric {}", temp_idx, priority);
|
spdlog::debug("network: new default route via {} on if{} metric {}", temp_gw_addr, temp_idx, priority);
|
||||||
|
|
||||||
/* Ask ifname associated with temp_idx as well as carrier status */
|
/* Ask ifname associated with temp_idx as well as carrier status */
|
||||||
struct ifinfomsg ifinfo_hdr = {
|
struct ifinfomsg ifinfo_hdr = {
|
||||||
|
Loading…
Reference in New Issue
Block a user