Skip to content

Commit

Permalink
Merge 6e76c31 into 86e0604
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed May 14, 2019
2 parents 86e0604 + 6e76c31 commit 59da5a1
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 59da5a1

Please sign in to comment.