Ensure the generated BPF in the example deliver the whole packet.
This commit is contained in:
parent
c7fee90e33
commit
20d7cd248d
@ -164,7 +164,7 @@ END {
|
||||
}
|
||||
xxENDxx
|
||||
|
||||
BPFPROG=`tcpdump -ddd ${PATTERN} | awk -f /tmp/bpf.awk`
|
||||
BPFPROG=`tcpdump -s 8192 -ddd ${PATTERN} | awk -f /tmp/bpf.awk`
|
||||
|
||||
ngctl msg ${NODEPATH} setprogram { thisHook=\\"${INHOOK}\\" \\
|
||||
ifMatch=\\"${MATCHHOOK}\\" \\
|
||||
|
Loading…
Reference in New Issue
Block a user