summaryrefslogtreecommitdiff
path: root/src/nm-iface-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-iface-helper.c')
-rw-r--r--src/nm-iface-helper.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nm-iface-helper.c b/src/nm-iface-helper.c
index 2192f36ba..18966c579 100644
--- a/src/nm-iface-helper.c
+++ b/src/nm-iface-helper.c
@@ -87,6 +87,7 @@ dhcp4_state_changed (NMDhcpClient *client,
NMDhcpState state,
NMIP4Config *ip4_config,
GHashTable *options,
+ const char *event_id,
gpointer user_data)
{
static NMIP4Config *last_config = NULL;
@@ -103,7 +104,7 @@ dhcp4_state_changed (NMDhcpClient *client,
if (last_config)
nm_ip4_config_subtract (existing, last_config);
- nm_ip4_config_merge (existing, ip4_config);
+ nm_ip4_config_merge (existing, ip4_config, NM_IP_CONFIG_MERGE_DEFAULT);
if (!nm_ip4_config_commit (existing, ifindex, TRUE, global_opt.priority_v4))
nm_log_warn (LOGD_DHCP4, "(%s): failed to apply DHCPv4 config", global_opt.ifname);
@@ -240,7 +241,7 @@ rdisc_config_changed (NMRDisc *rdisc, NMRDiscConfigMap changed, gpointer user_da
if (last_config)
nm_ip6_config_subtract (existing, last_config);
- nm_ip6_config_merge (existing, ip6_config);
+ nm_ip6_config_merge (existing, ip6_config, NM_IP_CONFIG_MERGE_DEFAULT);
if (!nm_ip6_config_commit (existing, ifindex, TRUE))
nm_log_warn (LOGD_IP6, "(%s): failed to apply IPv6 config", global_opt.ifname);