wgengine: fix error string.

Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
David Anderson 2020-02-11 00:01:58 -08:00
parent 43becc4334
commit 2f9cdd0aac
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func NewUserspaceEngine(logf logger.Logf, tunname string, listenPort uint16, der
logf("external packet routing via --tun=%s enabled", 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)