mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 14:44:02 +03:00
Add documentation for ipblocklist
This commit is contained in:
@@ -133,7 +133,7 @@ func (c *Proxy) setupIPBlocklist(opts *mtglib.ProxyOpts) error {
|
||||
return err // nolint: wrapcheck
|
||||
}
|
||||
|
||||
go firehol.Run(c.Config.Defense.Blocklist.UpdateEach.Value(ipblocklist.DefaultUpdateEach))
|
||||
go firehol.Run(c.Config.Defense.Blocklist.UpdateEach.Value(ipblocklist.DefaultFireholUpdateEach))
|
||||
|
||||
opts.IPBlocklist = firehol
|
||||
|
||||
|
||||
Reference in New Issue
Block a user