mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-07 15:09:56 +00:00
chore: code cleanup
This commit is contained in:
@@ -81,8 +81,8 @@ func (h *ResolverEnhancer) InsertHostByIP(ip netip.Addr, host string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (h *ResolverEnhancer) FlushFakeIP() error {
|
func (h *ResolverEnhancer) FlushFakeIP() error {
|
||||||
if h.fakePool != nil {
|
if pool := h.fakePool; pool != nil {
|
||||||
return h.fakePool.FlushFakeIP()
|
return pool.FlushFakeIP()
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user