Chore: merge branch 'with-tun' into plus-pro

This commit is contained in:
yaling888
2022-03-30 00:18:42 +08:00
11 changed files with 397 additions and 71 deletions

View File

@@ -95,7 +95,6 @@ func (t *TUN) Write(packet []byte) (int, error) {
return t.nt.Write(packet, t.offset)
}
_ = t.cache[:t.offset]
packet = append(t.cache[:t.offset], packet...)
return t.nt.Write(packet, t.offset)