summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netlink/route
diff options
context:
space:
mode:
authorTing-Yu Wang <anivia@google.com>2020-10-23 19:22:07 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-23 19:24:09 -0700
commit8dfbec28a47483e0c03a5c94331081d7219f215b (patch)
treeed4412a06fadbd0a8a541f772f92439508ba0e02 /pkg/sentry/socket/netlink/route
parent3ed8ace87123a5cee4fd3aa3751bb24c151749ff (diff)
Fix nogo tests in //pkg/sentry/socket/...
PiperOrigin-RevId: 338784921
Diffstat (limited to 'pkg/sentry/socket/netlink/route')
-rw-r--r--pkg/sentry/socket/netlink/route/protocol.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/sentry/socket/netlink/route/protocol.go b/pkg/sentry/socket/netlink/route/protocol.go
index c84d8bd7c..c71cce064 100644
--- a/pkg/sentry/socket/netlink/route/protocol.go
+++ b/pkg/sentry/socket/netlink/route/protocol.go
@@ -36,9 +36,9 @@ type commandKind int
const (
kindNew commandKind = 0x0
- kindDel = 0x1
- kindGet = 0x2
- kindSet = 0x3
+ kindDel commandKind = 0x1
+ kindGet commandKind = 0x2
+ kindSet commandKind = 0x3
)
func typeKind(typ uint16) commandKind {