From 30f6482c5435979d668a3577c7a900bce6b5de15 Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Mon, 19 Feb 2001 04:06:30 +0000 Subject: [PATCH] Slight improvement to previous checkin. --- share/man/man4/ng_bpf.4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/man/man4/ng_bpf.4 b/share/man/man4/ng_bpf.4 index 81d18fa34cbb..92bbf53b439e 100644 --- a/share/man/man4/ng_bpf.4 +++ b/share/man/man4/ng_bpf.4 @@ -145,6 +145,7 @@ control message, as demonstrated here: #!/bin/sh PATTERN="tcp dst port 80" +NODEPATH="my_node:" INHOOK="hook1" MATCHHOOK="hook2" NOTMATCHHOOK="hook3" @@ -165,7 +166,7 @@ xxENDxx BPFPROG=`tcpdump -ddd ${PATTERN} | awk -f /tmp/bpf.awk` -ngctl msg my_node: setprogram { thisHook=\\"${INHOOK}\\" \\ +ngctl msg ${NODEPATH} setprogram { thisHook=\\"${INHOOK}\\" \\ ifMatch=\\"${MATCHHOOK}\\" \\ ifNotMatch=\\"${NOTMATCHHOOK}\\" \\ ${BPFPROG} } }