commit | a980e8a690f59542e6e68aa4d84face19ee57a15 | [log] [tgz] |
---|---|---|
author | Fazlul Shahriar <fshahriar@gmail.com> | Mon Jun 29 01:50:50 2020 -0400 |
committer | David du Colombier <0intro@gmail.com> | Mon Jun 29 08:06:23 2020 +0000 |
tree | 1955347ea5126b865b71dfad1837dfec528a06d8 | |
parent | c875503cf79f82b7d2dbec85667f330f72ec4557 [diff] |
net: handle more interface types without a hardware address on Plan 9 We were handling loopback devices when attempting to read hardware address, but packet interfaces were not being handled. As a general fix, don't attempt to read hardware address of any device that's not inside /net. Fixes #39908 Change-Id: Ifa05e270357e111c60906110db2cc23dc7c1c49c Reviewed-on: https://go-review.googlesource.com/c/go/+/240259 Run-TryBot: David du Colombier <0intro@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: David du Colombier <0intro@gmail.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.