Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
peakedshout committed Mar 12, 2023
1 parent 8393999 commit 6170303
Show file tree
Hide file tree
Showing 21 changed files with 1 addition and 1 deletion.
Binary file modified _hook-tcp/asset/linux-386/cfc_hook_client_linux-386
Binary file not shown.
Binary file modified _hook-tcp/asset/linux-386/cfc_hook_server_linux-386
Binary file not shown.
Binary file modified _hook-tcp/asset/linux-amd64/cfc_hook_client_linux-amd64
Binary file not shown.
Binary file modified _hook-tcp/asset/linux-amd64/cfc_hook_server_linux-amd64
Binary file not shown.
Binary file modified _hook-tcp/asset/linux-arm/cfc_hook_client_linux-arm
Binary file not shown.
Binary file modified _hook-tcp/asset/linux-arm/cfc_hook_server_linux-arm
Binary file not shown.
Binary file modified _hook-tcp/asset/linux-arm64/cfc_hook_client_linux-arm64
Binary file not shown.
Binary file modified _hook-tcp/asset/linux-arm64/cfc_hook_server_linux-arm64
Binary file not shown.
Binary file modified _hook-tcp/asset/mac-amd64/cfc_hook_client_mac-amd64
Binary file not shown.
Binary file modified _hook-tcp/asset/mac-amd64/cfc_hook_server_mac-amd64
Binary file not shown.
Binary file modified _hook-tcp/asset/mac-arm64/cfc_hook_client_mac-arm64
Binary file not shown.
Binary file modified _hook-tcp/asset/mac-arm64/cfc_hook_server_mac-arm64
Binary file not shown.
Binary file modified _hook-tcp/asset/win-386/cfc_hook_client_win-386.exe
Binary file not shown.
Binary file modified _hook-tcp/asset/win-386/cfc_hook_server_win-386.exe
Binary file not shown.
Binary file modified _hook-tcp/asset/win-amd64/cfc_hook_client_win-amd64.exe
Binary file not shown.
Binary file modified _hook-tcp/asset/win-amd64/cfc_hook_server_win-amd64.exe
Binary file not shown.
Binary file modified _hook-tcp/asset/win-arm/cfc_hook_client_win-arm.exe
Binary file not shown.
Binary file modified _hook-tcp/asset/win-arm/cfc_hook_server_win-arm.exe
Binary file not shown.
Binary file modified _hook-tcp/asset/win-arm64/cfc_hook_client_win-arm64.exe
Binary file not shown.
Binary file modified _hook-tcp/asset/win-arm64/cfc_hook_server_win-arm64.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion loger/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func Sprint(a ...any) string {
}

func SprintConn(conn net.Conn, a ...any) string {
if conn == nil {
if conn == nil || conn.LocalAddr() == nil || conn.RemoteAddr() == nil {
return Sprint("[", "No network", "] :", Sprint(a...))
}
return Sprint("[", conn.LocalAddr().String(), "->", conn.RemoteAddr().String(), "] :", Sprint(a...))
Expand Down

0 comments on commit 6170303

Please sign in to comment.