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)

Daniel-Constantin Mierla authored on 09/09/2021 07:11:06
Showing 1 changed files
... ...
@@ -678,6 +678,7 @@ static void ul_rpc_add(rpc_t* rpc, void* ctx)
678 678
 	}
679 679
 	ci.ruid = _ul_sruid.uid;
680 680
 	ci.server_id = server_id;
681
+	ci.tcpconn_id = -1;
681 682
 
682 683
 	lock_udomain(dom, &aor);
683 684