Skip to content

Commit 915d9f4

Browse files
authored
fix some typos (fatedier#2882)
Signed-off-by: cuishuang <[email protected]>
1 parent 18a2af4 commit 915d9f4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

client/proxy/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ func (pxy *XTCPProxy) InWorkConn(conn net.Conn, m *msg.StartWorkConn) {
366366
// Listen for clientConn's address and wait for visitor connection
367367
lConn, err := net.ListenUDP("udp", laddr)
368368
if err != nil {
369-
xl.Error("listen on visitorConn's local adress error: %v", err)
369+
xl.Error("listen on visitorConn's local address error: %v", err)
370370
return
371371
}
372372
defer lConn.Close()

conf/frpc_full.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ tls_enable = true
105105
# specify a dns server, so frpc will use this instead of default one
106106
# dns_server = 8.8.8.8
107107

108-
# proxy names you want to start seperated by ','
108+
# proxy names you want to start separated by ','
109109
# default is empty, means all proxies
110110
# start = ssh,dns
111111

pkg/config/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ type ClientCommonConf struct {
133133
// It only works when "tls_enable" is valid and tls configuration of server
134134
// has been specified.
135135
TLSTrustedCaFile string `ini:"tls_trusted_ca_file" json:"tls_trusted_ca_file"`
136-
// TLSServerName specifices the custom server name of tls certificate. By
136+
// TLSServerName specifies the custom server name of tls certificate. By
137137
// default, server name if same to ServerAddr.
138138
TLSServerName string `ini:"tls_server_name" json:"tls_server_name"`
139139
// By default, frpc will connect frps with first custom byte if tls is enabled.

server/control.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ func (ctl *Control) GetWorkConn() (workConn net.Conn, err error) {
258258
case workConn, ok = <-ctl.workConnCh:
259259
if !ok {
260260
err = frpErr.ErrCtlClosed
261-
xl.Warn("no work connections avaiable, %v", err)
261+
xl.Warn("no work connections available, %v", err)
262262
return
263263
}
264264

0 commit comments

Comments
 (0)