MCPcopy Index your code
hub / github.com/celzero/firestack / maybeReplaceDest

Method maybeReplaceDest

intra/common.go:778–789  ·  view source on GitHub ↗

maybeReplaceDest replaces the target AddrPort with the IP in res, if res.IP is set and valid.

(res *Mark, target *netip.AddrPort)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

PingMethod · 0.80
ErrorMethod · 0.80
ConnectMethod · 0.80
ErrorMethod · 0.80
ProxyMethod · 0.80

Calls 2

DFunction · 0.92
PortMethod · 0.45

Tested by

no test coverage detected