summaryrefslogtreecommitdiffhomepage
path: root/pkg/syserr
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-15 22:06:51 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-15 22:06:51 +0000
commita89a57d437616c9d2463a8d78c37080e4d6edf19 (patch)
tree13483275c43e94b899a492481c9dd63a01958d22 /pkg/syserr
parentbb4615b663db81e5bd035c50661080d6645ac717 (diff)
parent857d03f258ffafb815698917f2a1ee9e7e265464 (diff)
Merge release-20200622.1-163-g857d03f25 (automated)
Diffstat (limited to 'pkg/syserr')
-rw-r--r--pkg/syserr/netstack.go2
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)