pespin has uploaded this change for review.
cbsp/sbcap: Set link fsm id with peer's name
Otherwise the id is left unset.
Change-Id: I8a6850293cbe01c66e4fb545d646d63743ddaecb
---
M src/cbsp_link.c
M src/sbcap_link.c
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/86/28886/1
diff --git a/src/cbsp_link.c b/src/cbsp_link.c
index 564e134..b432aad 100644
--- a/src/cbsp_link.c
+++ b/src/cbsp_link.c
@@ -48,7 +48,7 @@
link->peer = peer;
link->is_client = (peer->link_mode == CBC_PEER_LINK_MODE_CLIENT);
- link->fi = osmo_fsm_inst_alloc(&cbsp_link_fsm, link, link, LOGL_DEBUG, NULL);
+ link->fi = osmo_fsm_inst_alloc(&cbsp_link_fsm, link, link, LOGL_DEBUG, peer->name);
if (!link->fi) {
LOGPCC(link, LOGL_ERROR, "Unable to allocate FSM\n");
talloc_free(link);
diff --git a/src/sbcap_link.c b/src/sbcap_link.c
index 9af842f..9cf794b 100644
--- a/src/sbcap_link.c
+++ b/src/sbcap_link.c
@@ -53,7 +53,7 @@
link->peer = peer;
link->is_client = (peer->link_mode == CBC_PEER_LINK_MODE_CLIENT);
- link->fi = osmo_fsm_inst_alloc(&sbcap_link_fsm, link, link, LOGL_DEBUG, NULL);
+ link->fi = osmo_fsm_inst_alloc(&sbcap_link_fsm, link, link, LOGL_DEBUG, peer->name);
if (!link->fi) {
LOGPSBCAPC(link, LOGL_ERROR, "Unable to allocate FSM\n");
talloc_free(link);
To view, visit change 28886. To unsubscribe, or for help writing mail filters, visit settings.