]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
dhcpcd: Force setting MTU through dhcpcd
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Feb 2022 16:53:07 +0000 (17:53 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Feb 2022 17:08:46 +0000 (18:08 +0100)
commitb92b38c45eef3038db03319d451e91a181706292
treea6b7476abe2b23225bce32428c788c30e8906694
parent4b94860d07b5124e90711c802e87cce8547c3043
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>
src/initscripts/networking/functions.network