Commit fd496fd8 authored by Thomas Haller's avatar Thomas Haller
Browse files

dns-manager: fix compute_hash() to skip over duplicate other configs

Fixes: f76aa4f7
parent a6af4262
......@@ -748,10 +748,10 @@ compute_hash (NMDnsManager *self, const NMGlobalDnsConfig *global, guint8 buffer
/* add any other configs we know about */
for (iter = priv->configs; iter; iter = g_slist_next (iter)) {
if ( (iter->data == priv->ip4_vpn_config)
&& (iter->data == priv->ip4_device_config)
&& (iter->data == priv->ip6_vpn_config)
&& (iter->data == priv->ip6_device_config))
if (NM_IN_SET (iter->data, priv->ip4_vpn_config,
if (NM_IS_IP4_CONFIG (iter->data))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment