diff options
author | glebius <glebius@FreeBSD.org> | 2007-05-30 09:05:49 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2007-05-30 09:05:49 +0000 |
commit | b1c254898d86f2fbb2980fe7a82633dd1e6d04a9 (patch) | |
tree | 0290ce36ab0178be73ae5f1698e1f19a9f3c64c9 /share | |
parent | bbc6212f2190c9865fc0a388eca82bcf91eadc85 (diff) | |
download | FreeBSD-src-b1c254898d86f2fbb2980fe7a82633dd1e6d04a9.zip FreeBSD-src-b1c254898d86f2fbb2980fe7a82633dd1e6d04a9.tar.gz |
- Sync with ng_bpf.h, rev. 1.7
- Remove extra brace.
Submitted by: Anton Yuzhaninov <citrin rambler-co.ru>
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/ng_bpf.4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man4/ng_bpf.4 b/share/man/man4/ng_bpf.4 index f56c909..9e6f3d5 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 , |