[android] allow selection/deselection of network resources on android peers (#4607)

This commit is contained in:
Diego Romar
2025-11-21 09:36:33 -03:00
committed by GitHub
parent 1311364397
commit 32146e576d
18 changed files with 666 additions and 28 deletions

View File

@@ -2,6 +2,13 @@
package device
import "fmt"
func (t *TunNetstackDevice) Create(routes []string, dns string, searchDomains []string) (WGConfigurer, error) {
return t.create()
}
func (t *TunNetstackDevice) RenewTun(fd int) error {
// Doesn't make sense in Android for Netstack.
return fmt.Errorf("this function has not been implemented in Netstack for Android")
}