Fix bad Name() calls

This commit is contained in:
Neil Alexander 2019-11-22 18:39:27 +00:00
parent 235b64345e
commit b27ada9191
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
3 changed files with 8 additions and 8 deletions

View file

@ -27,6 +27,6 @@ func (tun *TunAdapter) setup(ifname string, addr string, mtu int) error {
// We don't know how to set the IPv6 address on an unknown platform, therefore
// write about it to stdout and don't try to do anything further.
func (tun *TunAdapter) setupAddress(addr string) error {
tun.log.Warnln("Warning: Platform not supported, you must set the address of", tun.iface.Name(), "to", addr)
tun.log.Warnln("Warning: Platform not supported, you must set the address of", tun.Name(), "to", addr)
return nil
}