diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-12-05 11:33:38 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2020-01-15 21:19:01 +0100 |
commit | 7151054abd5d43bf4c623e311a4c1046af4fff94 (patch) | |
tree | 4e8a09d2173a00c831ce3b7c7ca8aa459ebfd009 /target/linux/malta/be/config-default | |
parent | d9cfa827acd9155429e4f2b00bc0052156aa5d4d (diff) | |
download | upstream-7151054abd5d43bf4c623e311a4c1046af4fff94.tar.gz upstream-7151054abd5d43bf4c623e311a4c1046af4fff94.tar.bz2 upstream-7151054abd5d43bf4c623e311a4c1046af4fff94.zip |
wireguard: skip peer config if public key of the peer is not defined
If a config section of a peer does not have a public key defined, the
whole interface does not start. The following log is shown
daemon.notice netifd: test (21071): Line unrecognized: `PublicKey='
daemon.notice netifd: test (21071): Configuration parsing erro
The command 'wg show' does only show the interface name.
With this change we skip the peer for this interface and emit a log
message. So the other peers get configured.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'target/linux/malta/be/config-default')
0 files changed, 0 insertions, 0 deletions