- filter: don't reset name on update
This commit is contained in:
parent
6f3cd4e7eb
commit
2303bb253a
|
@ -598,7 +598,7 @@ func (f *Filtering) updateIntl(filter *filter) (bool, error) {
|
||||||
|
|
||||||
log.Printf("Filter %d has been updated: %d bytes, %d rules",
|
log.Printf("Filter %d has been updated: %d bytes, %d rules",
|
||||||
filter.ID, total, rulesCount)
|
filter.ID, total, rulesCount)
|
||||||
if filterName != "" {
|
if len(filter.Name) == 0 {
|
||||||
filter.Name = filterName
|
filter.Name = filterName
|
||||||
}
|
}
|
||||||
filter.RulesCount = rulesCount
|
filter.RulesCount = rulesCount
|
||||||
|
|
Loading…
Reference in New Issue