mirror of https://github.com/bjdgyc/anylink.git
增加 macvtap 说明文档
This commit is contained in:
parent
970b7d557a
commit
42de4e6fd0
|
@ -93,7 +93,7 @@ func createVtap(cSess *sessdata.ConnSession, ifName string) error {
|
|||
|
||||
var fdInt int
|
||||
|
||||
fdInt, err = syscall.Open(tName, os.O_RDWR|syscall.O_NONBLOCK, 0)
|
||||
fdInt, err = syscall.Open(tName, syscall.O_RDWR|syscall.O_NONBLOCK, 0)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue