From 21c5c5c4256e8532a904b3ea1846e24118468dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Delattre?= Date: Fri, 6 Mar 2020 11:32:18 +0100 Subject: [PATCH] Add missing VerdictKind (#99) --- expr/verdict.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/expr/verdict.go b/expr/verdict.go index 696ceb9..1717548 100644 --- a/expr/verdict.go +++ b/expr/verdict.go @@ -37,9 +37,14 @@ type Verdict struct { type VerdictKind int64 -// Verdicts, as per netfilter.h. +// Verdicts, as per netfilter.h and netfilter/nf_tables.h. const ( - VerdictDrop VerdictKind = iota + VerdictReturn VerdictKind = iota - 5 + VerdictGoto + VerdictJump + VerdictBreak + VerdictContinue + VerdictDrop VerdictAccept VerdictStolen VerdictQueue