Commit graph

2 commits

Author SHA1 Message Date
Jeff Becker
fc585b07b0
use proper stdlib functions for splitting host and port
replace use of strings.Cut() with net.SplitHostPort() as it does not handle every case we need it to.
e.g. "[1234::1%lan0]"
2023-11-27 10:14:28 -05:00
Vasyl Gello
6e427fefec Initial commit
Based on previous work of @neilalexander:
https://github.com/yggdrasil-network/yggdrasil-go@netstack

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2023-11-27 14:50:31 +02:00