Browse code

usrloc: set tcp connection id to -1 for records added via rpc

- cope properly with the handle_lost_tcp modparam

(cherry picked from commit a0a97119bef7671f33734399dc9de4562abae39c)
(cherry picked from commit 1685ebd5917e763c347b6d4201b19b72e2ee274e)
(cherry picked from commit bbd5a5ce5b2269e6e29f63a8cd73838502d35b06)

Daniel-Constantin Mierla authored on 09/09/2021 07:11:06 • Henning Westerholt committed on 22/10/2021 12:11:08
Showing 1 changed files
... ...
@@ -673,6 +673,7 @@ static void ul_rpc_add(rpc_t* rpc, void* ctx)
673 673
 	}
674 674
 	ci.ruid = _ul_sruid.uid;
675 675
 	ci.server_id = server_id;
676
+	ci.tcpconn_id = -1;
676 677
 
677 678
 	lock_udomain(dom, &aor);
678 679