Am 28.11.19 um 13:51 schrieb Jason A. Donenfeld:
Thanks. Fixed this way:
https://git.zx2c4.com/WireGuard/commit/?id=57854fb710160f567cf776b65080a9ce5afdf02c

But: why is your remove_iptables failing in the first place?


If I understand correctly, the implicit return value of remove_iptables()
is the return value of its last command, which is the included for-loop.

And the implicit return value of the for loop is the return value of the
last command run inside the for-loop. Which is the test whether $found
is one. On my system $found is zero.

So the test "fails" and remove_iptables() returns non-zero.

Thomas
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to