wgengine/magicsock: allow a CSV list for pretendpoint

Load Balancers often have more than one ingress IP, so allowing us to
add multiple means we can offer multiple options.

Updates #12578

Change-Id: I4aa49a698d457627d2f7011796d665c67d4c7952
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
This commit is contained in:
Lee Briggs
2024-07-09 18:47:46 -07:00
committed by Brad Fitzpatrick
parent c6af5bbfe8
commit b546a6e758
3 changed files with 23 additions and 13 deletions

View File

@@ -30,4 +30,4 @@ func debugEnablePMTUD() opt.Bool { return "" }
func debugRingBufferMaxSizeBytes() int { return 0 }
func inTest() bool { return false }
func debugPeerMap() bool { return false }
func pretendpoint() netip.AddrPort { return netip.AddrPort{} }
func pretendpoints() []netip.AddrPort { return []netip.AddrPort{} }