]> git.ipfire.org Git - ipfire-2.x.git/commit
dhcpcd: Force setting MTU through dhcpcd
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Feb 2022 12:18:04 +0000 (12:18 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 23 Feb 2022 15:46:44 +0000 (15:46 +0000)
commit5d0d1144fbd0413cbb3215804dbb1b3238248670
tree3f7a8ca5a960e15fc47979453e7f2e3291d51346
parent8fa66ce750dee06140e55b689a0645860e005b11
dhcpcd: Force setting MTU through dhcpcd

The DHCP server can instruct clients to configure a certain MTU.

This used to be done by setting the MTU of the interface. However,
dhcpcd has changed this behaviour using routes to.

We used to have a modified version of the old mechanism which no longer
works well with the new system and is therefore to be dropped.

This is the first commit in the series implementing the new behaviour
and telling dhcpcd to use the configured MTU.

Fixes: #12563
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
src/initscripts/networking/functions.network