Add L3 routing support

This commit is contained in:
世界
2023-04-19 21:59:47 +08:00
parent a223262678
commit c238df9309
61 changed files with 2043 additions and 965 deletions
+1 -1
View File
@@ -8,6 +8,6 @@ import (
"github.com/sagernet/sing-tun"
)
func NewStackDevice(localAddresses []netip.Prefix, mtu uint32) (Device, error) {
func NewStackDevice(localAddresses []netip.Prefix, mtu uint32, ipRewrite bool) (Device, error) {
return nil, tun.ErrGVisorNotIncluded
}