aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2007-05-30 09:05:49 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2007-05-30 09:05:49 +0000
commitc137427647d80477d9ec3acf70fe3e3c709b8c7e (patch)
tree0290ce36ab0178be73ae5f1698e1f19a9f3c64c9
parent8f75133bdf146f8b64e68e52fa3d76e54e6480bf (diff)
- Sync with ng_bpf.h, rev. 1.7
- Remove extra brace. Submitted by: Anton Yuzhaninov <citrin rambler-co.ru>
Notes
Notes: svn path=/head/; revision=170129
-rw-r--r--share/man/man4/ng_bpf.46
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man4/ng_bpf.4 b/share/man/man4/ng_bpf.4
index f56c9092850c..9e6f3d5c6a37 100644
--- a/share/man/man4/ng_bpf.4
+++ b/share/man/man4/ng_bpf.4
@@ -35,7 +35,7 @@
.\" $FreeBSD$
.\" $Whistle: ng_bpf.8,v 1.2 1999/12/03 01:57:12 archie Exp $
.\"
-.Dd December 2, 1999
+.Dd May 30, 2007
.Dt NG_BPF 4
.Os
.Sh NAME
@@ -91,7 +91,7 @@ struct ng_bpf_hookprog {
char ifMatch[NG_HOOKSIZ]; /* match dest hook */
char ifNotMatch[NG_HOOKSIZ]; /* !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 */
};
.Ed
.Pp
@@ -175,7 +175,7 @@ BPFPROG=`tcpdump -s 8192 -ddd ${PATTERN} | awk -f /tmp/bpf.awk`
ngctl msg ${NODEPATH} setprogram { thisHook=\\"${INHOOK}\\" \\
ifMatch=\\"${MATCHHOOK}\\" \\
ifNotMatch=\\"${NOTMATCHHOOK}\\" \\
- ${BPFPROG} } }
+ ${BPFPROG} }
.Ed
.Sh SEE ALSO
.Xr bpf 4 ,