Skip to content

Commit

Permalink
Struct definition was moved; add AIX and Solaris build tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroy committed Sep 6, 2024
1 parent 3b197a7 commit 88621f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions route_info_aix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build aix

package sockaddr

import (
Expand All @@ -9,10 +11,6 @@ var cmds map[string][]string = map[string][]string{
"route": {"/usr/sbin/route", "-n", "get", "default"},
}

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

// NewRouteInfo returns a BSD-specific implementation of the RouteInfo
// interface.
func NewRouteInfo() (routeInfo, error) {
Expand Down
2 changes: 2 additions & 0 deletions route_info_solaris.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build solaris

package sockaddr

import (
Expand Down

0 comments on commit 88621f5

Please sign in to comment.