ldir@darbyshire-
> bryant.me.uk; daniel.engberg.li...@pyret.net
> Cc: openwrt-devel@lists.openwrt.org; Florian Eckert
> Subject: [OpenWrt-Devel] [PATCH] wireguard: fix interface remove on lonely
> peers
>
> Redmine-patch-id: 4230
> If we delete the main wireguard interface, the
Redmine-patch-id: 4230
If we delete the main wireguard interface, then the related are not
delete. They remain in the network configuration.
With this commit wo get called on a network config change, and check if
each wireguard peer has an interface. If this is not the case delete
alle peers that