core: fix crash when activating a never-default IPv4 connection

This commit is contained in:
Dan Winship
2013-10-24 15:15:02 -04:00
parent 3b97185ff8
commit 0a557ac01d

View File

@@ -583,7 +583,7 @@ nm_ip4_config_replace (NMIP4Config *dst, const NMIP4Config *src, gboolean *relev
/* never_default */
if (src_priv->never_default != dst_priv->never_default) {
dst_priv->never_default = src_priv->never_default;
has_relevant_changes = TRUE;
has_minor_changes = TRUE;
}
/* default gateway */