How is this still an issue? I tried the patch with 0.35-0ubuntu2 in xenial:
+ if r.position != 0 and r.position <= num_v4: + r.position = num_v4 + 1 And it works perfectly. Couldn't this be merged as there is no obvious downside on recalculating the rule position for IPv6 addresses? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs