| 1049 | } |
| 1050 | |
| 1051 | void |
| 1052 | table_rule_delete(struct table *table, |
| 1053 | struct table_rule_match *match) |
| 1054 | { |
| 1055 | struct table_rule *rule; |
| 1056 | |
| 1057 | rule = table_rule_find(table, match); |
| 1058 | if (rule == NULL) |
| 1059 | return; |
| 1060 | |
| 1061 | TAILQ_REMOVE(&table->rules, rule, node); |
| 1062 | free(rule); |
| 1063 | } |
| 1064 | |
| 1065 | void |
| 1066 | table_rule_default_add(struct table *table, |
no test coverage detected