From: Peter Fabinski Date: Tue, 31 Aug 2021 09:29:25 +0000 (-0400) Subject: Update man pages for default metric changes (#51) X-Git-Tag: v10.0.0~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c34e10b13673438a14016e53a5b850427813683;p=thirdparty%2Fdhcpcd.git Update man pages for default metric changes (#51) * Update man pages for metric changes in 3547ed19 * Make metric man changes additive --- diff --git a/src/dhcpcd.8.in b/src/dhcpcd.8.in index c307f69f..bc6b3b57 100644 --- a/src/dhcpcd.8.in +++ b/src/dhcpcd.8.in @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd February 2, 2021 +.Dd August 23, 2021 .Dt DHCPCD 8 .Os .Sh NAME @@ -414,9 +414,10 @@ See the Multiple Interfaces section above. .It Fl m , Fl Fl metric Ar metric Metrics are used to prefer an interface over another one, lowest wins. .Nm -will supply a default metic of 200 + +will supply a default metric of 1000 + .Xr if_nametoindex 3 . -An extra 100 will be added for wireless interfaces. +This will be offset by 2000 for wireless interfaces, with additional offsets +of 1000000 for IPv4LL and 2000000 for roaming interfaces. .It Fl n , Fl Fl rebind Op Ar interface Notifies .Nm diff --git a/src/dhcpcd.conf.5.in b/src/dhcpcd.conf.5.in index f4370118..4d8fa38a 100644 --- a/src/dhcpcd.conf.5.in +++ b/src/dhcpcd.conf.5.in @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd Febrary 2, 2021 +.Dd August 23, 2021 .Dt DHCPCD.CONF 5 .Os .Sh NAME @@ -491,9 +491,10 @@ signal. .It Ic metric Ar metric Metrics are used to prefer an interface over another one, lowest wins. .Nm dhcpcd -will supply a default metric of 200 + +will supply a default metric of 1000 + .Xr if_nametoindex 3 . -An extra 100 will be added for wireless interfaces. +This will be offset by 2000 for wireless interfaces, with additional offsets +of 1000000 for IPv4LL and 2000000 for roaming interfaces. .It Ic mudurl Ar url Specifies the URL for a Manufacturer Usage Description (MUD). The description is used by upstream network devices to instantiate any