Add test to verify that bound NIC for an endpoint
Open
area: networking
area: tests
type: enhancement
- Dominant language
- Go
- Stars
- 19.3k
- Forks
- 2k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 264
Description
e.boundNICID is not exposed directly except it can be retrieved by calling endpoint.GetLocalAddress. But getsockname does not return the bound interface.
We should add at least a Go Test that verifies that GetLocalAddress returns the correct NIC ID after bind().
Contributor guide
Assessment
This issue has not been assessed yet.