From 88621f544e3148268c46ad41dc2ed29e9532a544 Mon Sep 17 00:00:00 2001 From: John Troy Date: Fri, 6 Sep 2024 11:26:26 -0400 Subject: [PATCH] Struct definition was moved; add AIX and Solaris build tags. --- route_info_aix.go | 6 ++---- route_info_solaris.go | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/route_info_aix.go b/route_info_aix.go index ee8e7984d..4e23d9d4c 100644 --- a/route_info_aix.go +++ b/route_info_aix.go @@ -1,3 +1,5 @@ +//go:build aix + package sockaddr import ( @@ -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) { diff --git a/route_info_solaris.go b/route_info_solaris.go index 5843d58c2..1354a73b6 100644 --- a/route_info_solaris.go +++ b/route_info_solaris.go @@ -1,3 +1,5 @@ +//go:build solaris + package sockaddr import (