Fix: set major version to v2 (#88)

This commit is contained in:
Fan Lin
2022-01-03 16:06:18 +08:00
committed by GitHub
parent 9370983c63
commit c068fbd626
34 changed files with 79 additions and 79 deletions

View File

@@ -6,11 +6,11 @@ import (
"net/url"
"strings"
"github.com/xjasonlyu/tun2socks/core/device"
"github.com/xjasonlyu/tun2socks/core/device/fd"
"github.com/xjasonlyu/tun2socks/core/device/tun"
"github.com/xjasonlyu/tun2socks/proxy"
"github.com/xjasonlyu/tun2socks/proxy/proto"
"github.com/xjasonlyu/tun2socks/v2/core/device"
"github.com/xjasonlyu/tun2socks/v2/core/device/fd"
"github.com/xjasonlyu/tun2socks/v2/core/device/tun"
"github.com/xjasonlyu/tun2socks/v2/proxy"
"github.com/xjasonlyu/tun2socks/v2/proxy/proto"
)
func parseDevice(s string, mtu uint32) (device.Device, error) {