mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-05 07:50:24 +08:00
feat(p2p): add more link to tcp
This commit is contained in:
@@ -27,7 +27,7 @@ type NICIO struct {
|
||||
func NewNIC(ip net.IP, subnet *net.IPNet, mtu string, cidrs ...string) *NICIO {
|
||||
ifce, err := water.New(water.Config{DeviceType: water.TUN})
|
||||
if err != nil {
|
||||
logrus.Error(err)
|
||||
logrus.Errorln(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
subn, bitsn := subnet.Mask.Size()
|
||||
|
||||
Reference in New Issue
Block a user