diff options
Diffstat (limited to 'interface-ip.c')
-rw-r--r-- | interface-ip.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/interface-ip.c b/interface-ip.c index 1a22980..3b545ca 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -544,8 +544,10 @@ void interface_ip_set_enabled(struct interface_ip_settings *ip, bool enabled) void interface_ip_update_start(struct interface_ip_settings *ip) { - vlist_simple_update(&ip->dns_servers); - vlist_simple_update(&ip->dns_search); + if (ip != &ip->iface->config_ip) { + vlist_simple_update(&ip->dns_servers); + vlist_simple_update(&ip->dns_search); + } vlist_update(&ip->route); vlist_update(&ip->addr); } |