append_peer
Description:
If a peer with the same public-key already exists, that one is replaced by peer.
The new peer is always appended (or moved to) the end, so in case a peer is replaced, the indexes are shifted and the number of
peers stays unchanged.
Parameters:
| this |
the SettingWireGuard instance |
| peer |
the WireGuardPeer instance to append. This seals |