tun: support multiple IPs

This commit is contained in:
ginuerzh
2022-12-22 17:44:30 +08:00
parent 67bbdbf5a3
commit fb29d5c80e
9 changed files with 128 additions and 99 deletions

View File

@ -17,7 +17,8 @@ import (
)
var (
ErrTun = errors.New("tun device error")
ErrTun = errors.New("tun device error")
ErrInvalidNet = errors.New("invalid net IP")
)
func init() {