wgengine: fix error string.

Signed-off-by: David Anderson <dave@natulte.net>
pull/24/head
David Anderson 5 years ago
parent 43becc4334
commit 2f9cdd0aac

@ -62,7 +62,7 @@ func NewUserspaceEngine(logf logger.Logf, tunname string, listenPort uint16, der
logf("external packet routing via --tun=%s enabled", tunname) logf("external packet routing via --tun=%s enabled", tunname)
if tunname == "" { if tunname == "" {
return nil, fmt.Errorf("--tun name must not be blank.") return nil, fmt.Errorf("--tun name must not be blank")
} }
tuntap, err := tun.CreateTUN(tunname, device.DefaultMTU) tuntap, err := tun.CreateTUN(tunname, device.DefaultMTU)

Loading…
Cancel
Save