diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-07-15 22:06:51 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-15 22:06:51 +0000 |
commit | a89a57d437616c9d2463a8d78c37080e4d6edf19 (patch) | |
tree | 13483275c43e94b899a492481c9dd63a01958d22 /pkg/syserr | |
parent | bb4615b663db81e5bd035c50661080d6645ac717 (diff) | |
parent | 857d03f258ffafb815698917f2a1ee9e7e265464 (diff) |
Merge release-20200622.1-163-g857d03f25 (automated)
Diffstat (limited to 'pkg/syserr')
-rw-r--r-- | pkg/syserr/netstack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/syserr/netstack.go b/pkg/syserr/netstack.go index 8ff922c69..5ae10939d 100644 --- a/pkg/syserr/netstack.go +++ b/pkg/syserr/netstack.go @@ -22,7 +22,7 @@ import ( // Mapping for tcpip.Error types. var ( ErrUnknownProtocol = New(tcpip.ErrUnknownProtocol.String(), linux.EINVAL) - ErrUnknownNICID = New(tcpip.ErrUnknownNICID.String(), linux.EINVAL) + ErrUnknownNICID = New(tcpip.ErrUnknownNICID.String(), linux.ENODEV) ErrUnknownDevice = New(tcpip.ErrUnknownDevice.String(), linux.ENODEV) ErrUnknownProtocolOption = New(tcpip.ErrUnknownProtocolOption.String(), linux.ENOPROTOOPT) ErrDuplicateNICID = New(tcpip.ErrDuplicateNICID.String(), linux.EEXIST) |