Oops, I missed a cast in rev.1.119.
This commit is contained in:
parent
09c1244640
commit
684f9417a2
@ -1359,7 +1359,7 @@ ip_fw_ctl(struct sockopt *sopt)
|
||||
for (fcp = LIST_FIRST(&ip_fw_chain), bp = buf; fcp;
|
||||
fcp = LIST_NEXT(fcp, chain)) {
|
||||
bcopy(fcp->rule, bp, sizeof *fcp->rule);
|
||||
bp->pipe_ptr = (intptr_t)
|
||||
bp->pipe_ptr = (void *)(intptr_t)
|
||||
((struct ip_fw_ext *)fcp->rule)->dont_match_prob;
|
||||
bp++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user