wireguard: park the timer process 72/29372/2
authorDave Barach <dave@barachs.net>
Fri, 9 Oct 2020 15:33:55 +0000 (11:33 -0400)
committerDamjan Marion <dmarion@me.com>
Fri, 9 Oct 2020 17:20:28 +0000 (17:20 +0000)
commit6754a16ca3e01556f6d0383737aa22d89d32733b
treef66403ef75b59887dcf2cc84f7adaa4f1691c7e0
parent695eb9353dc4895a17d960488675b7e44c8022db
wireguard: park the timer process

Until the feature is configured. It would make sense to push more of
the feature init code into the newly-added wg_feature_init()
function. This patch fixes a severe hemorrhoid.

Type: improvement

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I87095575363baa41407dd52492159a7b8c2899e7
src/plugins/wireguard/wireguard.h
src/plugins/wireguard/wireguard_api.c
src/plugins/wireguard/wireguard_cli.c
src/plugins/wireguard/wireguard_timer.c
src/plugins/wireguard/wireguard_timer.h