This is my solution.
--- ufw-0.34/src/frontend.py 2015-08-20 20:10:26.000000000 +0200
+++ ufw-0.34/src/frontend.py 2015-12-21 09:46:25.311587993 +0100
@@ -451,7 +451,7 @@ class UFWFrontend:
elif ip_version == "v6":
if r.position > num_v4:
r.set_position(r.position - num_v4)
- elif r.position != 0 and r.position <= num_v4:
+ elif r.position != 0 and r.position > num_v4+num_v6:
pos_err_msg += str(r.position) + "'"
raise UFWError(pos_err_msg)
r.set_v6(True)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1368411
Title:
Cannot insert IPV6 rule before IPV4 rules
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/1368411/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs