Commit 80495e0f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Reduce the metric of wired links to 96.

parent a0d0215d
...@@ -229,7 +229,7 @@ network_up(struct network *net, int up) ...@@ -229,7 +229,7 @@ network_up(struct network *net, int up)
} }
net->wired = wired; net->wired = wired;
net->cost = wired ? 112 : 256; net->cost = wired ? 96 : 256;
update_hello_interval(net); update_hello_interval(net);
memset(&mreq, 0, sizeof(mreq)); memset(&mreq, 0, sizeof(mreq));
......
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