Skip to content

Commit

Permalink
Also fix Android build -- functionality untested
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroy committed Sep 6, 2024
1 parent 88621f5 commit 355422a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions route_info_android.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
//go:build android

package sockaddr

import (
"errors"
"os/exec"
)

type routeInfo struct {
cmds map[string][]string
}

// NewRouteInfo returns a Android-specific implementation of the RouteInfo
// interface.
func NewRouteInfo() (routeInfo, error) {
Expand Down
4 changes: 2 additions & 2 deletions route_info_default.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 355422a

Please sign in to comment.