mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 20:20:09 +01:00
l3cfg: fix handling of mtu during nm_l3_config_data_merge()
Fixes: 25d404dadb ('l3cfg: add more API to NML3ConfigData')
This commit is contained in:
parent
81d7009956
commit
ef26ed3092
1 changed files with 1 additions and 1 deletions
|
|
@ -2282,7 +2282,7 @@ nm_l3_config_data_merge (NML3ConfigData *self,
|
|||
if (self->ip6_privacy == NM_SETTING_IP6_CONFIG_PRIVACY_UNKNOWN)
|
||||
self->ip6_privacy = src->ip6_privacy;
|
||||
|
||||
if (self->mtu != 0u)
|
||||
if (self->mtu == 0u)
|
||||
self->mtu = src->mtu;
|
||||
|
||||
/* self->source does not get merged. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue