summaryrefslogtreecommitdiffstats
path: root/tools/regression/bpf/bpf_filter/tests/test0008.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bpf/bpf_filter/tests/test0008.h')
-rw-r--r--tools/regression/bpf/bpf_filter/tests/test0008.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/regression/bpf/bpf_filter/tests/test0008.h b/tools/regression/bpf/bpf_filter/tests/test0008.h
index 8c1a5bf..93462c7 100644
--- a/tools/regression/bpf/bpf_filter/tests/test0008.h
+++ b/tools/regression/bpf/bpf_filter/tests/test0008.h
@@ -1,13 +1,13 @@
/*-
- * Test 0008: BPF_LDX|BPF_W|BPF_LEN & BPF_MISC|BPF_TXA
+ * Test 0008: BPF_LDX+BPF_W+BPF_LEN & BPF_MISC+BPF_TXA
*
* $FreeBSD$
*/
/* BPF program */
struct bpf_insn pc[] = {
- BPF_STMT(BPF_LDX|BPF_W|BPF_LEN, 0),
- BPF_STMT(BPF_MISC|BPF_TXA, 0),
+ BPF_STMT(BPF_LDX+BPF_W+BPF_LEN, 0),
+ BPF_STMT(BPF_MISC+BPF_TXA, 0),
BPF_STMT(BPF_RET+BPF_A, 0),
};
@@ -28,5 +28,5 @@ int invalid = 0;
/* Expected return value */
u_int expect = 0xdeadc0de;
-/* Expeced signal */
+/* Expected signal */
int expect_signal = 0;
OpenPOWER on IntegriCloud