Delete a rule from the list of configured rules The rule will not actually be removed on the host
(self, rule)
| 218 | self.delete(nr) |
| 219 | |
| 220 | def delete(self, rule): |
| 221 | """ Delete a rule from the list of configured rules |
| 222 | The rule will not actually be removed on the host """ |
| 223 | self.rules[:] = [x for x in self.rules if not x == rule] |
| 224 | |
| 225 | def add_ip6_chain(self, address_family, table, chain, hook, action): |
| 226 | chain_policy = "" |