mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 10:05:17 +00:00
ccda1075c0
This cleans up the mess to configure an IP address on a tun(4) device. Handrolling a hardcoded ioctl(2) request is far from perfect, but Go (golang.org/sys/unix) is to blame here. Tested on OpenBSD 7.6 -current where yggdrasil now drives the interface would use of ifconfig or other helpers. |
||
---|---|---|
.. | ||
address | ||
admin | ||
config | ||
core | ||
ipv6rwc | ||
multicast | ||
tun | ||
version |