diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-09-09 14:49:58 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-09-12 12:04:25 +0200 |
commit | 98cc81bc98a894998a0bf606fb0f9a071b5a289b (patch) | |
tree | 6518daf0b6e6c9d37a9867c6bcd4c270760fc429 | |
parent | 95d57c180394b8b4d3b41fcf8f9fdf764e0082c2 (diff) |
osmux: osmux_xfrm_input_close_circuit(): Log circuit not found
Change-Id: I486b81d15b4d9d6abd08fbd73ca460bae22586a9
-rw-r--r-- | src/osmux.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/osmux.c b/src/osmux.c index 71afe5c..5515e88 100644 --- a/src/osmux.c +++ b/src/osmux.c @@ -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); } |