Closed robbertkl closed 5 years ago
Not sure why the tests fail on gofmt. I'm not getting any errors myself:
Building go-iptables...
Checking gofmt...
Running tests...
PASS
coverage: 72.1% of statements
Success
Given that 1.8.0 basically wasn't released, we just removed the workarounds from go-iptables. I think this can be closed, would you agree?
Sure, that would be OK, I'll switch my project to upstream again. I guess #59 can also be closed.
Fix for #59.
I've compiled different versions of iptables to see where the exit code changed. Starting with 1.8.1 it exits with 1, just like it does in legacy mode:
I've added version checks similar to the other checks, to determine when to use the alternative exit code for comparison.
My fork is already used by https://github.com/robbertkl/docker-ipv6nat ; it would be awesome if the changes could be merged upstream so I can switch back.