summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-01-08 11:20:48 -0800
committerKevin Krakauer <krakauer@google.com>2020-01-08 11:20:48 -0800
commit446a250996d9c946d9a5279f7fd081cc1be0bd11 (patch)
tree1b4de16e0603808561a7435ce0b1fceed6748180 /pkg/abi
parent2f02e15e54d41d72eb5815a98b49c265977c6507 (diff)
Comment cleanup.
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/netfilter.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/abi/linux/netfilter.go b/pkg/abi/linux/netfilter.go
index 0bcb232de..35d66d622 100644
--- a/pkg/abi/linux/netfilter.go
+++ b/pkg/abi/linux/netfilter.go
@@ -42,6 +42,8 @@ const (
NF_RETURN = -NF_REPEAT - 1
)
+// VerdictStrings maps int verdicts to the strings they represent. It is used
+// for debugging.
var VerdictStrings = map[int32]string{
-NF_DROP - 1: "DROP",
-NF_ACCEPT - 1: "ACCEPT",