pespin has uploaded this change for review.
osmux: osmux_xfrm_input_close_circuit(): Log circuit not found
Change-Id: I486b81d15b4d9d6abd08fbd73ca460bae22586a9
---
M src/osmux.c
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/01/29301/1
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 @@
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);
}
To view, visit change 29301. To unsubscribe, or for help writing mail filters, visit settings.