You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine
M. J. Fromberger 418e19fb5e portmapper: update NewClient to use a Config argument
In preparation for adding more parameters (and later, moving some away), rework
the portmapper constructor to accept its arguments on a Config struct rather
than positionally.

This is a breaking change to the function signature, but one that is very easy
to update, and a search of GitHub reveals only six instances of usage outside
clones and forks of Tailscale itself, that are not direct copies of the code
fixed up here.

While we could stub in another constructor, I think it is safe to let those
folks do the update in-place, since their usage is already affected by other
changes we can't test for anyway.

Updates #15160

Change-Id: I9f8a5e12b38885074c98894b7376039261b43f43
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
8 months ago
..
bench wgengine: plumb an event bus into the userspace engine 8 months ago
filter wgengine/filter: add check for unknown proto 11 months ago
magicsock portmapper: update NewClient to use a Config argument 8 months ago
netlog wgengine: add exit destination logging enable for wgengine logger (#11952) 2 years ago
netstack wgengine: plumb an event bus into the userspace engine 8 months ago
router wgengine/router: default to a fake router on android 9 months ago
wgcfg wgengine/wgcfg/nmcfg: coalesce, limit some debug logs 11 months ago
wgint wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine 2 years ago
wglog all: use Go 1.22 range-over-int 2 years ago
winnet all: add test for package comments, fix, add comments as needed 1 year ago
mem_ios.go all: update copyright and license headers 3 years ago
pendopen.go all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111] 11 months ago
userspace.go wgengine: plumb an event bus into the userspace engine 8 months ago
userspace_ext_test.go wgengine: plumb an event bus into the userspace engine 8 months ago
userspace_test.go util/usermetrics: make usermetrics non-global 1 year ago
watchdog.go feature/capture: move packet capture to feature/*, out of iOS + CLI 11 months ago
watchdog_js.go all: update copyright and license headers 3 years ago
watchdog_test.go util/usermetrics: make usermetrics non-global 1 year ago
wgengine.go feature/capture: move packet capture to feature/*, out of iOS + CLI 11 months ago