commit | 7cfca0467e47aa91b485c485b92befb33a1fd61f | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Thu Dec 08 14:18:17 2011 -0800 |
committer | Gerrit <chrome-bot@google.com> | Thu Dec 08 20:51:45 2011 -0800 |
tree | 6473d3e142edda37f13d5b8b97814bab167676ad | |
parent | 2bf1d356e76564adb64b8bc8bc1049e74bf8e4d8 [diff] |
shill: Assign unique metrics to non-default interfaces Assign a metric based on the interface index to routes for interfaces that are not default. As a result even if the gateway address is the same (e.g, if you're connected to a home AP via both wireless and wired) that the routes do not conflict with each other. BUG=chromium-os:23917 TEST=Manual: As above, connect to a home AP over Ethernet and WiFi, and ensure that both gateway routes appear. Change-Id: I85ffad74ec53dda535578367242114b30846b7ac Reviewed-on: https://gerrit.chromium.org/gerrit/12651 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>