mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-25 07:20:38 +02:00
device: fix wrong string compare in _commit_mtu()
Fixes:e6628fa27c('ipv6: add 'disabled' method') https://bugzilla.redhat.com/show_bug.cgi?id=1753128 (cherry picked from commit5f284e1574)
This commit is contained in:
parent
722cddfad8
commit
7b9abe94bf
1 changed files with 1 additions and 1 deletions
|
|
@ -9371,7 +9371,7 @@ _commit_mtu (NMDevice *self, const NMIP4Config *config)
|
|||
s_ip6 = nm_device_get_applied_setting (self, NM_TYPE_SETTING_IP6_CONFIG);
|
||||
if ( s_ip6
|
||||
&& !NM_IN_STRSET (nm_setting_ip_config_get_method (s_ip6),
|
||||
NM_SETTING_IP6_CONFIG_METHOD_IGNORE
|
||||
NM_SETTING_IP6_CONFIG_METHOD_IGNORE,
|
||||
NM_SETTING_IP6_CONFIG_METHOD_DISABLED)) {
|
||||
/* the interface has IPv6 enabled. The MTU with IPv6 cannot be smaller
|
||||
* then 1280.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue