From 355422af4659c1d8187ad4d7ae8b049558e0f36b Mon Sep 17 00:00:00 2001 From: John Troy Date: Fri, 6 Sep 2024 11:32:01 -0400 Subject: [PATCH] Also fix Android build -- functionality untested --- route_info_android.go | 6 ++---- route_info_default.go | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/route_info_android.go b/route_info_android.go index 9885915a6..059ddaebf 100644 --- a/route_info_android.go +++ b/route_info_android.go @@ -1,3 +1,5 @@ +//go:build android + package sockaddr import ( @@ -5,10 +7,6 @@ import ( "os/exec" ) -type routeInfo struct { - cmds map[string][]string -} - // NewRouteInfo returns a Android-specific implementation of the RouteInfo // interface. func NewRouteInfo() (routeInfo, error) { diff --git a/route_info_default.go b/route_info_default.go index 6df864ba0..db0052fa8 100644 --- a/route_info_default.go +++ b/route_info_default.go @@ -1,5 +1,5 @@ -//go:build android || nacl || plan9 || js -// +build android nacl plan9 js +//go:build nacl || plan9 || js +// +build nacl plan9 js package sockaddr