| 616 | } |
| 617 | |
| 618 | static int |
| 619 | table_destroy_one(ipfw_xtable_info *i, void *arg) |
| 620 | { |
| 621 | ipfw_obj_header *oh; |
| 622 | |
| 623 | oh = (ipfw_obj_header *)arg; |
| 624 | table_fill_ntlv(&oh->ntlv, i->tablename, i->set, 1); |
| 625 | if (table_destroy(oh) != 0) { |
| 626 | if (g_co.do_quiet == 0) |
| 627 | warn("failed to destroy table(%s) in set %u", |
| 628 | i->tablename, i->set); |
| 629 | return (-1); |
| 630 | } |
| 631 | return (0); |
| 632 | } |
| 633 | |
| 634 | /* |
| 635 | * Flushes given table specified by @oh->ntlv. |
nothing calls this directly
no test coverage detected