fix kcp port print error

This commit is contained in:
fatedier 2017-12-11 01:36:47 +08:00
parent 1a6a179b68
commit de48d97cb2

View File

@ -93,7 +93,7 @@ func NewService() (svr *Service, err error) {
err = fmt.Errorf("Listen on kcp address udp [%s:%d] error: %v", cfg.BindAddr, cfg.KcpBindPort, err) err = fmt.Errorf("Listen on kcp address udp [%s:%d] error: %v", cfg.BindAddr, cfg.KcpBindPort, err)
return return
} }
log.Info("frps kcp listen on udp %s:%d", cfg.BindAddr, cfg.BindPort) log.Info("frps kcp listen on udp %s:%d", cfg.BindAddr, cfg.KcpBindPort)
} }
// Create http vhost muxer. // Create http vhost muxer.