mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
ipset: move to separate package
This commit is contained in:
1 parent
978029bd2b
commit
f4eab4d1b2
4 files changed
+11
-7
No files matched your search
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
"github.com/nadoo/glider/common/log"
|
||||
"github.com/nadoo/glider/dns"
|
||||
"github.com/nadoo/glider/ipset"
|
||||
"github.com/nadoo/glider/proxy"
|
||||
"github.com/nadoo/glider/rule"
|
||||
"github.com/nadoo/glider/strategy"
|
||||
@@ -37,7 +38,7 @@ func main() {
|
||||
}
|
||||
|
||||
dialer := rule.NewDialer(conf.rules, strategy.NewDialer(conf.Forward, &conf.StrategyConfig))
|
||||
ipsetM, _ := NewIPSetManager(conf.IPSet, conf.rules)
|
||||
ipsetM, _ := ipset.NewIPSetManager(conf.IPSet, conf.rules)
|
||||
|
||||
// DNS Server
|
||||
if conf.DNS != "" {
|
||||
|
||||
Reference in new issue
Block a user