Skip to content

Commit

Permalink
Fix: ipset will not be reset when restart
Browse files Browse the repository at this point in the history
  • Loading branch information
pcmid committed Jan 12, 2020
1 parent c95f09e commit b79d178
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions plugin/ipset.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ func (i *IpSet) Init(configDir string) error {
log.Error(err)
}

err = set.Flush()
if err != nil {
log.Error(err)
}
i.Set[conf.Name] = set
}

Expand Down

0 comments on commit b79d178

Please sign in to comment.