|
Lines 1630-1638
Link Here
|
| 1630 |
if (sort != 0) |
1630 |
if (sort != 0) |
| 1631 |
qsort(olh + 1, olh->count, olh->objsize, tablename_cmp); |
1631 |
qsort(olh + 1, olh->count, olh->objsize, tablename_cmp); |
| 1632 |
|
1632 |
|
|
|
1633 |
error = 0; |
| 1633 |
info = (ipfw_xtable_info *)(olh + 1); |
1634 |
info = (ipfw_xtable_info *)(olh + 1); |
| 1634 |
for (i = 0; i < olh->count; i++) { |
1635 |
for (i = 0; i < olh->count; i++) { |
| 1635 |
error = f(info, arg); /* Ignore errors for now */ |
1636 |
if (co.use_set == 0 || info->set == co.use_set - 1) |
|
|
1637 |
error = f(info, arg); /* Ignore errors for now */ |
| 1636 |
info = (ipfw_xtable_info *)((caddr_t)info + olh->objsize); |
1638 |
info = (ipfw_xtable_info *)((caddr_t)info + olh->objsize); |
| 1637 |
} |
1639 |
} |
| 1638 |
|
1640 |
|