FreeBSD Bugzilla – Attachment 174742 Details for
Bug 212668
ipfw table all ignores set parameter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the problem
ipfw.diff (text/plain), 580 bytes, created by
John Zielinski
on 2016-09-13 19:40:28 UTC
(
hide
)
Description:
patch to fix the problem
Filename:
MIME Type:
Creator:
John Zielinski
Created:
2016-09-13 19:40:28 UTC
Size:
580 bytes
patch
obsolete
>Index: tables.c >=================================================================== >--- tables.c (revision 305777) >+++ tables.c (working copy) >@@ -1630,9 +1630,11 @@ > if (sort != 0) > qsort(olh + 1, olh->count, olh->objsize, tablename_cmp); > >+ error = 0; > info = (ipfw_xtable_info *)(olh + 1); > for (i = 0; i < olh->count; i++) { >- error = f(info, arg); /* Ignore errors for now */ >+ if (co.use_set == 0 || info->set == co.use_set - 1) >+ error = f(info, arg); /* Ignore errors for now */ > info = (ipfw_xtable_info *)((caddr_t)info + olh->objsize); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212668
: 174742