Skip to content

Commit

Permalink
doc: add a hint
Browse files Browse the repository at this point in the history
Signed-off-by: hexian000 <[email protected]>
  • Loading branch information
hexian000 committed Jan 6, 2024
1 parent 6b12186 commit 4d10028
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Rendezvous mode may be useful for accessing servers behind NAT. The rendezvous s

```json
{
"connect": "127.0.0.1:1080",
"connect": "127.0.0.1:25565",
"rendezvous_server": "203.0.113.1:12345",
"method": "xchacha20poly1305_ietf",
"psk": "// your key here"
Expand All @@ -274,7 +274,7 @@ Rendezvous mode may be useful for accessing servers behind NAT. The rendezvous s

```json
{
"listen": "127.0.0.1:1080",
"listen": "127.0.0.1:25565",
"rendezvous_server": "203.0.113.1:12345",
"method": "xchacha20poly1305_ietf",
"psk": "// your key here"
Expand Down
4 changes: 2 additions & 2 deletions src/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@ ss0_on_pong(struct server *restrict s, struct msgframe *restrict msg)
format_iec_bytes(bw_rx, sizeof(bw_rx), rx);
format_iec_bytes(bw_tx, sizeof(bw_tx), tx);

LOGD_F("roundtrip finished, RTT: %" PRIu32 " ms, "
"capability rx: %s/s, tx: %s/s",
LOGD_F("roundtrip finished in %" PRIu32 " ms, "
"capacity rx: %s/s, tx: %s/s",
now_ms - tstamp, bw_rx, bw_tx);
s->pkt.inflight_ping = TSTAMP_NIL;

Expand Down

0 comments on commit 4d10028

Please sign in to comment.