aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_bpf.h
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-06-01 20:40:05 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-06-01 20:40:05 +0000
commitf3bfd2edaf7856dd20899642d6b54461adf94d09 (patch)
treeda13fa6c7e702c01a0e80c8ba027456b88a66857 /sys/netgraph/ng_bpf.h
parent50225e2f48b57f930709e5a48e123f8c126ee99b (diff)
downloadsrc-f3bfd2edaf7856dd20899642d6b54461adf94d09.tar.gz
src-f3bfd2edaf7856dd20899642d6b54461adf94d09.zip
Notes
Diffstat (limited to 'sys/netgraph/ng_bpf.h')
-rw-r--r--sys/netgraph/ng_bpf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_bpf.h b/sys/netgraph/ng_bpf.h
index cf6ce1738c18..11c25ba82b02 100644
--- a/sys/netgraph/ng_bpf.h
+++ b/sys/netgraph/ng_bpf.h
@@ -53,7 +53,7 @@ struct ng_bpf_hookprog {
char ifMatch[NG_HOOKLEN+1]; /* match dest hook */
char ifNotMatch[NG_HOOKLEN+1]; /* !match dest hook */
int32_t bpf_prog_len; /* #isns in program */
- struct bpf_insn bpf_prog[0]; /* bpf program */
+ struct bpf_insn bpf_prog[]; /* bpf program */
};
#define NG_BPF_HOOKPROG_SIZE(numInsn) \