Skip to content

Commit

Permalink
NET-468 & NET-600
Browse files Browse the repository at this point in the history
* When individual extclient dns is changed or removed, it reflects on the UI properly and also gets updated on backend.
  • Loading branch information
uGiFarukh committed Sep 12, 2023
1 parent 5c46df4 commit 83654ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/extpeers.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func UpdateExtClient(old *models.ExtClient, update *models.CustomExtClient) mode
if update.PublicKey != "" && old.PublicKey != update.PublicKey {
new.PublicKey = update.PublicKey
}
if update.DNS != "" && update.DNS != old.DNS {
if update.DNS != old.DNS {
new.DNS = update.DNS
}
if update.Enabled != old.Enabled {
Expand Down

0 comments on commit 83654ea

Please sign in to comment.