fix a typo

This commit is contained in:
Nicola Murino 2019-11-08 08:46:31 +01:00
parent 77db2bd3d1
commit 191da1ecaf

View file

@ -181,7 +181,7 @@ func (s *Service) StartPortableMode(sftpdPort int, enableSCP, advertiseService,
}
mDNSService, err = zeroconf.Register(
fmt.Sprintf("SFTPGo portable %v", sftpdConf.BindPort), // service instance name
"_sftp-ssh._tcp", // service type and protocl
"_sftp-ssh._tcp", // service type and protocol
"local.", // service domain
sftpdConf.BindPort, // service port
meta, // service metadata