From: Thomas Sattler <sattler@med.uni-frankfurt.de>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: PostDown 0.0.20191127
Date: Thu, 28 Nov 2019 14:32:27 +0100 [thread overview]
Message-ID: <cc88dffc-8940-64c9-f339-0a158fb87967@med.uni-frankfurt.de> (raw)
In-Reply-To: <CAHmME9rV17Y_NE-=OV96FWt6=3fx94D8G4ADcvj9nG7zzHdL4w@mail.gmail.com>
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
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
next prev parent reply other threads:[~2019-11-28 13:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-28 12:27 Thomas Sattler
2019-11-28 12:51 ` Jason A. Donenfeld
2019-11-28 13:07 ` Nico Schottelius
2019-11-28 13:32 ` Thomas Sattler [this message]
2019-11-28 17:14 ` Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc88dffc-8940-64c9-f339-0a158fb87967@med.uni-frankfurt.de \
--to=sattler@med.uni-frankfurt.de \
--cc=Jason@zx2c4.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).