mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 23:30:18 +01:00
device: set MTU on IP interface
Fixes:7ba2a058f2(cherry picked from commit0a04be41d4)
This commit is contained in:
parent
6f616d4c4b
commit
ecb93850c1
1 changed files with 1 additions and 1 deletions
|
|
@ -4470,7 +4470,7 @@ static void
|
|||
nm_device_set_mtu (NMDevice *self, guint32 mtu)
|
||||
{
|
||||
NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self);
|
||||
int ifindex = nm_device_get_ifindex (self);
|
||||
int ifindex = nm_device_get_ip_ifindex (self);
|
||||
|
||||
if (mtu)
|
||||
priv->mtu = mtu;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue