diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-19 15:01:36 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-19 15:02:44 -0600 |
commit | 0687dc06c873d4dac0b604d642d724c2f5abb6b6 (patch) | |
tree | f4c146645ae88c5b9d0f1405f39ed5f76d8482d1 /tun/netstack/examples/http_client.go | |
parent | 71aefa374d141776abfb8dede5c3af3fe796842e (diff) | |
download | wireguard-go-0687dc06c873d4dac0b604d642d724c2f5abb6b6.tar.gz wireguard-go-0687dc06c873d4dac0b604d642d724c2f5abb6b6.zip |
tun: freebsd: become controlling process when reopening tun FD
When we pass the TUN FD to the child, we have to call TUNSIFPID;
otherwise when we close the device, we get a splat in dmesg.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun/netstack/examples/http_client.go')
0 files changed, 0 insertions, 0 deletions