mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-15 21:30:50 +08:00
sync with eycorsican/go-tun2socks
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user