wgengine: fix error string.
Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
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)
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue