Commit 6f40d443 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Add channel number to debugging message.

parent 0c996173
...@@ -393,10 +393,11 @@ network_up(struct network *net, int up) ...@@ -393,10 +393,11 @@ network_up(struct network *net, int up)
update_network_metric(net); update_network_metric(net);
rc = check_network_ipv4(net); rc = check_network_ipv4(net);
debugf("Upped network %s (%s, cost=%d%s).\n", debugf("Upped network %s (%s, cost=%d, channel=%d%s).\n",
net->ifname, net->ifname,
(net->flags & NET_WIRED) ? "wired" : "wireless", (net->flags & NET_WIRED) ? "wired" : "wireless",
net->cost, net->cost,
net->channel,
net->ipv4 ? ", IPv4" : ""); net->ipv4 ? ", IPv4" : "");
if(up && rc > 0) if(up && rc > 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment