From 4d00937cecdea85b6f1eb894a6d28a53f5f2ff8a Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 13 Jul 2016 10:49:48 -0600 Subject: all: rename vendored golang.org/x/net packages to golang_org Regression from Go 1.6 to Go 1.7rc1: we had broken the ability for users to vendor "golang.org/x/net/http2" or "golang.org/x/net/route" because we were vendoring them ourselves and cmd/go and cmd/compile do not understand multiple vendor directories across multiple GOPATH workspaces (e.g. user's $GOPATH and default $GOROOT). As a short-term fix, since fixing cmd/go and cmd/compile is too invasive at this point in the cycle, just rename "golang.org" to "golang_org" for the standard library's vendored copy. Fixes #16333 Change-Id: I9bfaed91e9f7d4ca6bab07befe80d71d437a21af Reviewed-on: https://go-review.googlesource.com/24902 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/net/interface_bsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/interface_bsd.go') diff --git a/src/net/interface_bsd.go b/src/net/interface_bsd.go index d791cb3016..35b1c26815 100644 --- a/src/net/interface_bsd.go +++ b/src/net/interface_bsd.go @@ -9,7 +9,7 @@ package net import ( "syscall" - "golang.org/x/net/route" + "golang_org/x/net/route" ) // If the ifindex is zero, interfaceTable returns mappings of all -- cgit v1.3-5-g9baa