Skip to content

Commit 3cd5b91

Browse files
committed
gencode: "all but the lower 2 bits are 1's" is 0xfffffffc, not 0xfffffffe.
1 parent f322828 commit 3cd5b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gencode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,7 @@ gen_load_pflog_llprefixlen(compiler_state_t *cstate)
23672367
s2->s.k = 3;
23682368
sappend(s1, s2);
23692369
s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K);
2370-
s2->s.k = 0xfffffffe;
2370+
s2->s.k = 0xfffffffc;
23712371
sappend(s1, s2);
23722372

23732373
/*

0 commit comments

Comments
 (0)