Fix fakeip routing

This commit is contained in:
世界 committed 2023-06-11 20:58:59 +08:00
1 parent 0cb9cff690
commit 52e9059a8d
5 files changed
+38 -18

No files matched your search

+5
View File
@@ -21,3 +21,8 @@ type FakeIPStorage interface {
FakeIPLoad(address netip.Addr) (string, bool)
FakeIPReset() error
}
type FakeIPTransport interface {
dns.Transport
Store() FakeIPStore
}
+1
View File
@@ -46,6 +46,7 @@ type InboundContext struct {
SourceGeoIPCode string
GeoIPCode string
ProcessInfo *process.Info
FakeIP bool
// dns cache