Blame SOURCES/1005-fix-setting-mtu-lower-than-1280-rh1753128.patch

4e1021
From 62b168503a6714f593f0df243cb848832207184a Mon Sep 17 00:00:00 2001
4e1021
From: Beniamino Galvani <bgalvani@redhat.com>
4e1021
Date: Wed, 18 Sep 2019 10:50:43 +0200
4e1021
Subject: [PATCH] device: fix wrong string compare in _commit_mtu()
4e1021
4e1021
Fixes: e6628fa27c25 ('ipv6: add 'disabled' method')
4e1021
4e1021
https://bugzilla.redhat.com/show_bug.cgi?id=1753128
4e1021
(cherry picked from commit 5f284e1574e0c3ab319b504671d263ce89ca12f9)
4e1021
(cherry picked from commit 7b9abe94bf6e9c29e7c50da03ab0b0099569ed41)
4e1021
---
4e1021
 src/devices/nm-device.c | 2 +-
4e1021
 1 file changed, 1 insertion(+), 1 deletion(-)
4e1021
4e1021
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
4e1021
index 3ee67565b..127c91eea 100644
4e1021
--- a/src/devices/nm-device.c
4e1021
+++ b/src/devices/nm-device.c
4e1021
@@ -9429,7 +9429,7 @@ _commit_mtu (NMDevice *self, const NMIP4Config *config)
4e1021
 		s_ip6 = nm_device_get_applied_setting (self, NM_TYPE_SETTING_IP6_CONFIG);
4e1021
 		if (   s_ip6
4e1021
 		    && !NM_IN_STRSET (nm_setting_ip_config_get_method (s_ip6),
4e1021
-		                      NM_SETTING_IP6_CONFIG_METHOD_IGNORE
4e1021
+		                      NM_SETTING_IP6_CONFIG_METHOD_IGNORE,
4e1021
 		                      NM_SETTING_IP6_CONFIG_METHOD_DISABLED)) {
4e1021
 			/* the interface has IPv6 enabled. The MTU with IPv6 cannot be smaller
4e1021
 			 * then 1280.
4e1021
-- 
4e1021
2.21.0
4e1021