* Destroys given table specified by @oh->ntlv. * Returns 0 on success. */
| 606 | * Returns 0 on success. |
| 607 | */ |
| 608 | static int |
| 609 | table_destroy(ipfw_obj_header *oh) |
| 610 | { |
| 611 | |
| 612 | if (do_set3(IP_FW_TABLE_XDESTROY, &oh->opheader, sizeof(*oh)) != 0) |
| 613 | return (-1); |
| 614 | |
| 615 | return (0); |
| 616 | } |
| 617 | |
| 618 | static int |
| 619 | table_destroy_one(ipfw_xtable_info *i, void *arg) |
no test coverage detected