Skip to content

Commit

Permalink
Merge: - filter: don't reset name on update
Browse files Browse the repository at this point in the history
* commit '2303bb253a94045a0d1d7853f7f0840571f03879':
  - filter: don't reset name on update
  • Loading branch information
szolin committed May 25, 2020
2 parents 2a2b7c6 + 2303bb2 commit 2f5073b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/filter.go
Expand Up @@ -598,7 +598,7 @@ func (f *Filtering) updateIntl(filter *filter) (bool, error) {

log.Printf("Filter %d has been updated: %d bytes, %d rules",
filter.ID, total, rulesCount)
if filterName != "" {
if len(filter.Name) == 0 {
filter.Name = filterName
}
filter.RulesCount = rulesCount
Expand Down

0 comments on commit 2f5073b

Please sign in to comment.