wgenging: use logger.Logf type in openbsd router.

Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
David Anderson 2020-02-12 15:58:49 -08:00
parent 3d5ef74f26
commit afa83358f7

View File

@ -26,7 +26,7 @@
// implementation. This merits further investigation.
type openbsdRouter struct {
logf func(fmt string, args ...interface{})
logf logger.Logf
tunname string
local wgcfg.CIDR
routes map[wgcfg.CIDR]struct{}