osmux: osmux_xfrm_input_close_circuit(): Log circuit not found

Change-Id: I486b81d15b4d9d6abd08fbd73ca460bae22586a9
This commit is contained in:
Pau Espin 2022-09-09 14:49:58 +02:00
parent 95d57c1803
commit 98cc81bc98
1 changed files with 4 additions and 1 deletions

View File

@ -843,8 +843,11 @@ void osmux_xfrm_input_close_circuit(struct osmux_in_handle *h, int ccid)
struct osmux_circuit *circuit;
circuit = osmux_batch_find_circuit(batch, ccid);
if (circuit == NULL)
if (circuit == NULL) {
LOGP(DLMUX, LOGL_NOTICE, "Unable to close circuit %d: Not found\n",
ccid);
return;
}
osmux_batch_del_circuit(batch, circuit);
}