diff --git a/tun_linux.go b/tun_linux.go index 15b6a29..09c9262 100644 --- a/tun_linux.go +++ b/tun_linux.go @@ -592,6 +592,7 @@ func (t *NativeTun) rules() []*netlink.Rule { it = netlink.NewRule() if t.options.InterfaceMonitor.OverrideAndroidVPN() { it.Mark = protectedFromVPN + it.MarkSet = true } it.Mask = protectedFromVPN it.Priority = priority @@ -604,6 +605,7 @@ func (t *NativeTun) rules() []*netlink.Rule { it = netlink.NewRule() if t.options.InterfaceMonitor.OverrideAndroidVPN() { it.Mark = protectedFromVPN + it.MarkSet = true } it.Mask = protectedFromVPN it.Family = unix.AF_INET6