Skip to content

Commit

Permalink
Remove calls to DNS.modified=
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed May 14, 2019
1 parent 86e0604 commit 6e76c31
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/include/network/services/dns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -425,19 +425,16 @@ def StoreDhcpHostname(_key, _event)
when NONE_LABEL
LanItems.clear_set_hostname

DNS.modified = true if DNS.dhcp_hostname
DNS.dhcp_hostname = false
when ANY_LABEL
LanItems.clear_set_hostname

DNS.modified = true if !DNS.dhcp_hostname
DNS.dhcp_hostname = true
when NO_CHANGE_LABEL
nil
else
LanItems.conf_set_hostname(device)

DNS.modified = true if DNS.dhcp_hostname
DNS.dhcp_hostname = false
end

Expand Down

0 comments on commit 6e76c31

Please sign in to comment.