Commit 7a97fbf7 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Set the default metric of wired links to 112 rather than 128.

parent e2182be7
...@@ -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 ? 128 : 256; net->cost = wired ? 112 : 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