This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/5551 control_if: Log the disconnect of a CTRL client We are logging new CTRL connections at LOGL_INFO, so we should also log disconnects for symmetry. Change-Id: Id30aa76a5a3dab32d6b4121ce6fdf56d71dfc2ba --- M src/ctrl/control_if.c 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/51/5551/1 diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index 6293ff5..4f14f49 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -168,6 +168,9 @@ static void control_close_conn(struct ctrl_connection *ccon) { struct ctrl_cmd_def *cd, *cd2; + char *name = osmo_sock_get_name(ccon, ccon->write_queue.bfd.fd); + + LOGP(DLCTRL, LOGL_INFO, "close()d control connection %s\n", name); osmo_wqueue_clear(&ccon->write_queue); close(ccon->write_queue.bfd.fd); -- To view, visit https://gerrit.osmocom.org/5551 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id30aa76a5a3dab32d6b4121ce6fdf56d71dfc2ba Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org>