From 9065b1865f4b7391bbca726e82f1d388bdcc92ca Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Wed, 23 Mar 2022 10:18:08 +0800 Subject: [PATCH] delete useless field --- config/config.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 34794424..4ace5618 100644 --- a/config/config.go +++ b/config/config.go @@ -47,7 +47,6 @@ type General struct { RoutingMark int `json:"-"` GeodataMode bool `json:"geodata-mode"` GeodataLoader string `json:"geodata-loader"` - AutoIptables bool `json:"auto-iptables"` } // Inbound config @@ -133,7 +132,7 @@ type Experimental struct{} type Config struct { General *General Tun *Tun - IPTables *IPTables + IPTables *IPTables DNS *DNS Experimental *Experimental Hosts *trie.DomainTrie @@ -387,7 +386,6 @@ func parseGeneral(cfg *RawConfig) (*General, error) { RoutingMark: cfg.RoutingMark, GeodataMode: cfg.GeodataMode, GeodataLoader: cfg.GeodataLoader, - AutoIptables: cfg.AutoIptables, }, nil }