diff options
| author | Damien Neil <dneil@google.com> | 2021-10-01 17:45:09 -0700 |
|---|---|---|
| committer | Damien Neil <dneil@google.com> | 2021-10-02 16:05:55 +0000 |
| commit | a7fe161ccceb330cd1f19cd103a61f8deacbbdc3 (patch) | |
| tree | b86d63191928060106b4a81379179867eaacde63 /src/cmd/asm | |
| parent | 07a7c6f904a4deed9a37bf5c79a1c3d21d623347 (diff) | |
| download | go-a7fe161ccceb330cd1f19cd103a61f8deacbbdc3.tar.xz | |
net: don't use syscall.NET_RT_IFLISTL on FreeBSD
The golang.org/x/net/route package can't parse the RIB returned
by NET_RT_IFLISTL. Use the route.RIBTypeInterface constant
instead, leaving the choice of syscall up to the route package.
Fixes #48553.
Change-Id: Ida4bd6e332c0dc6dc871d3a93cfb56c0fbc93e1b
Reviewed-on: https://go-review.googlesource.com/c/go/+/353611
Trust: Damien Neil <dneil@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/cmd/asm')
0 files changed, 0 insertions, 0 deletions
