Merge: - filter: don't reset name on update
* commit '2303bb253a94045a0d1d7853f7f0840571f03879': - filter: don't reset name on update
This commit is contained in:
commit
2f5073b720
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue