mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
ipset: only allow to set ipset in rule files #69
This commit is contained in:
1 parent
86478d2c25
commit
5a43cf873e
14 files changed
+59
-71
No files matched your search
@@ -44,7 +44,7 @@ func main() {
|
||||
dialer := rule.NewDialer(conf.rules, strategy.NewDialer(conf.Forward, &conf.StrategyConfig))
|
||||
|
||||
// ipset manager
|
||||
ipsetM, _ := ipset.NewManager(conf.IPSet, conf.rules)
|
||||
ipsetM, _ := ipset.NewManager(conf.rules)
|
||||
|
||||
// check and setup dns server
|
||||
if conf.DNS != "" {
|
||||
|
||||
Reference in new issue
Block a user