MCPcopy Create free account
hub / github.com/cloudflare/slirpnetstack / SetDefaultAddrs

Method SetDefaultAddrs

addr.go:133–147  ·  view source on GitHub ↗

SetDefaultAddrs populates any unset endpoint with the provided default value. IPv6 values are only used if the one of the existing addresses is IPv6.

(bindAddrDef net.IP, bindAddr6Def net.IP, hostAddrDef net.IP, hostAddr6Def net.IP)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MainFunction · 0.80

Calls 1

SetDefaultAddrMethod · 0.80

Tested by

no test coverage detected