diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-12-17 14:14:13 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-12-17 14:18:09 +0100 |
commit | 6262906e5cbce9c2d430348827782a1c177a6d62 (patch) | |
tree | 4d2834bf10afea3c781df105befbdeec217e5edb /.gitignore | |
parent | wg: adjust wg.8 syntax for consistency in COMMANDS section (diff) | |
download | wireguard-tools-6262906e5cbce9c2d430348827782a1c177a6d62.tar.xz wireguard-tools-6262906e5cbce9c2d430348827782a1c177a6d62.zip |
wg-quick: linux: use already configured addresses instead of in-memory
The ADDRESSES array might not have addresses added during PreUp. But
moreover, nft(8) and iptables(8) don't like ip addresses in the form
somev6prefix::someipv4suffix, such as fd00::1.2.3.4, while ip(8) can
handle it. So by adding these first and then asking for them back, we
always get normalized addresses suitable for nft(8) and iptables(8).
Reported-by: Silvan Nagl <mail@53c70r.de>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions