ufw: allow to insert rules relative to first/last IPv4/IPv6 rules (#49796)

* Insert should have type int.

* Add insert_relative_to option.

* Add changelog.

* Add tests.

* Improve comment.
This commit is contained in:
Felix Fontein
2019-02-12 09:05:14 +01:00
committed by John R Barker
parent 2e3964b474
commit 09f78d2f6c
4 changed files with 166 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
minor_changes:
- "ufw - type of option ``insert`` is now enforced to be ``int``."
- "ufw - new ``insert_relative_to`` option allows to specify rule insertion position relative to first/last IPv4/IPv6 address."