sync with eycorsican/go-tun2socks

This commit is contained in:
Jason
2020-04-18 14:01:59 +08:00
parent 61f8851c84
commit 9f38062a41
4 changed files with 57 additions and 8 deletions

View File

@@ -84,7 +84,7 @@ func peekNextProto(ipv ipver, p []byte) (proto, error) {
}
}
func Input(pkt []byte) (int, error) {
func input(pkt []byte) (int, error) {
if len(pkt) == 0 {
return 0, nil
}