tailscale/net/tstun
Maisem Ali 3056a98bbd net/tstun: add better logging of natV4Config
It might as well have been spewing out gibberish. This adds
a nicer output format for us to be able to read and identify
whats going on.

Sample output
```
natV4Config{nativeAddr: 100.83.114.95, listenAddrs: [10.32.80.33], dstMasqAddrs: [10.32.80.33: 407 peers]}
```

Fixes tailscale/corp#14650

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2023-09-19 16:20:15 -07:00
..
table net/tstun/table: add initial RoutingTable implementation 2023-03-29 12:30:18 -07:00
fake.go tsd: add package with System type to unify subsystem init, discovery 2023-05-04 14:21:59 -07:00
ifstatus_noop.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ifstatus_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
linkattrs_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
linkattrs_notlinux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
mtu_test.go envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2023-03-30 14:26:10 -07:00
mtu.go envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2023-03-30 14:26:10 -07:00
tap_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tap_unsupported.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tstun_plan9.go all: adjust some build tags for plan9 2023-08-24 15:42:35 -07:00
tun_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_macos.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_notwindows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tun.go adjust build tags for tamago 2023-08-30 09:14:54 -07:00
wrap_test.go all: declare & plumb IPv6 masquerade address for peer 2023-09-18 21:27:36 -07:00
wrap.go net/tstun: add better logging of natV4Config 2023-09-19 16:20:15 -07:00