From 1e2e08e8a2dcdacaae3f14ac44c5cfa31361f270 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Wed, 19 Aug 2015 18:49:04 -0700 Subject: [PATCH] proper values for filter actions --- nl/tc_linux.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/nl/tc_linux.go b/nl/tc_linux.go index 8790b4c..c9bfe8d 100644 --- a/nl/tc_linux.go +++ b/nl/tc_linux.go @@ -313,15 +313,15 @@ const ( ) const ( - TC_ACT_UNSPEC = int32(-1) - TC_ACT_OK = iota - TC_ACT_RECLASSIFY - TC_ACT_SHOT - TC_ACT_PIPE - TC_ACT_STOLEN - TC_ACT_QUEUED - TC_ACT_REPEAT - TC_ACT_JUMP = 0x10000000 + TC_ACT_UNSPEC = int32(-1) + TC_ACT_OK = 0 + TC_ACT_RECLASSIFY = 1 + TC_ACT_SHOT = 2 + TC_ACT_PIPE = 3 + TC_ACT_STOLEN = 4 + TC_ACT_QUEUED = 5 + TC_ACT_REPEAT = 6 + TC_ACT_JUMP = 0x10000000 ) // #define tc_gen \