]> git.ipfire.org Git - thirdparty/systemd.git/commit
netdev/wireguard: do not invalidate peer on invalid syntax
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 22 Jun 2020 13:55:04 +0000 (15:55 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 22 Jun 2020 14:32:37 +0000 (16:32 +0200)
commit44e9342078c3445d518271ccb8097f34d100613a
tree465669dcc07fbdeb46b8a60eff59a50cd54a780b
parentde7fef4b6eb4f5ca1cd21a309c37d0a74d4d305b
netdev/wireguard: do not invalidate peer on invalid syntax

We would say "ignoring", but invalidate the peer anyway.
Let's only do that if we modified the peer irreperably.

Also add comments explaining allocation handling.
src/network/netdev/wireguard.c