wgenging: use logger.Logf type in openbsd router.

Signed-off-by: David Anderson <dave@natulte.net>
pull/44/head
David Anderson 5 years ago
parent 3d5ef74f26
commit afa83358f7

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

Loading…
Cancel
Save