libnm: change default value for NMDevice:mtu property
Default values should preferably be zero and/or a value that indicates that the property is unknown/unset. In practice, this property is not unset because it's present on the D-Bus API.
This commit is contained in:
@@ -797,7 +797,7 @@ nm_device_class_init (NMDeviceClass *device_class)
|
||||
**/
|
||||
obj_properties[PROP_MTU] =
|
||||
g_param_spec_uint (NM_DEVICE_MTU, "", "",
|
||||
0, G_MAXUINT32, 1500,
|
||||
0, G_MAXUINT32, 0,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
|
Reference in New Issue
Block a user