mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-10-28 10:41:36 +08:00
Add handshake interface support for gVisor UDP
This commit is contained in:
11
stack_lwip_stub.go
Normal file
11
stack_lwip_stub.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build !with_lwip
|
||||
|
||||
package tun
|
||||
|
||||
import E "github.com/sagernet/sing/common/exceptions"
|
||||
|
||||
func NewLWIP(
|
||||
options StackOptions,
|
||||
) (Stack, error) {
|
||||
return nil, E.New(`LWIP is not included in this build, rebuild with -tags with_lwip`)
|
||||
}
|
||||
Reference in New Issue
Block a user