summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-05-30 18:27:37 +0200
committerThomas Haller <thaller@redhat.com>2017-05-30 18:27:37 +0200
commit84f2d226b54a7945a493a14d8ba0b15c75813892 (patch)
treefbb5877d7695a327721318be1136e3ac3a3bd27d
parent159cd4836fb32f3a6ecefa6fc4dcc114892ce32a (diff)
downloadNetworkManager-84f2d226b54a7945a493a14d8ba0b15c75813892.tar.gz
ifcfg-rh: fix build failure in write_wired_setting()
Fixes: f80d0eb29e5fed5798a3d08b37a235d0ceede451
-rw-r--r--src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c b/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c
index a79e0b7305..4531427dfc 100644
--- a/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c
+++ b/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c
@@ -1015,7 +1015,7 @@ write_wired_setting (NMConnection *connection, shvarFile *ifcfg, GError **error)
}
mtu = nm_setting_wired_get_mtu (s_wired);
- svSetValueInt64 (ifcfg, "MTU", mtu != 0, mtu);
+ svSetValueInt64_cond (ifcfg, "MTU", mtu != 0, mtu);
svUnsetValue (ifcfg, "SUBCHANNELS");
s390_subchannels = nm_setting_wired_get_s390_subchannels (s_wired);