]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Update man pages for default metric changes (#51)
authorPeter Fabinski <github@peterfab.com>
Tue, 31 Aug 2021 09:29:25 +0000 (05:29 -0400)
committerGitHub <noreply@github.com>
Tue, 31 Aug 2021 09:29:25 +0000 (10:29 +0100)
* Update man pages for metric changes in 3547ed19

* Make metric man changes additive

src/dhcpcd.8.in
src/dhcpcd.conf.5.in

index c307f69f0428d9f23b9e6e5d36310f8d2e6f2ab7..bc6b3b57d49abb1a85be1aa2af2d1ec0162ce5fe 100644 (file)
@@ -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
index f4370118322c49d389f18f7755f78e8ecdfcbcd0..4d8fa38a35058582198c1b63dbb511938fdc0ef2 100644 (file)
@@ -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