Skip to content

Commit 0817482

Browse files
committed
set remote on connect
1 parent daaf853 commit 0817482

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ziti/src/main/kotlin/org/openziti/net/ZitiSocketChannel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@ internal class ZitiSocketChannel private constructor(internal val ctx: ZitiConte
479479
}
480480

481481
local = ZitiAddress.Session(ns.id, serviceName, null, null)
482+
this.remote = ZitiAddress.Session(ns.id, serviceName, remote.identity, null)
482483
d("network connection established ${ns.id}/$connId")
483484
state.set(State.connected)
484485
}

0 commit comments

Comments
 (0)