Review at  https://gerrit.osmocom.org/2300

osmo_ss7: Use proper string name for dynamically-created ASP

Change-Id: Id346002c79ba2aba2183ebd46bead372a727316d
---
M src/osmo_ss7.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/00/2300/1

diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 68315e7..9f01863 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -1369,7 +1369,7 @@
                        char namebuf[32];
                        static uint32_t dyn_asp_num = 0;
                        snprintf(namebuf, sizeof(namebuf), "asp-dyn-%u", 
dyn_asp_num++);
-                       asp = osmo_ss7_asp_find_or_create(oxs->inst, NULL, 0, 0,
+                       asp = osmo_ss7_asp_find_or_create(oxs->inst, namebuf, 
0, 0,
                                                          
OSMO_SS7_ASP_PROT_M3UA);
                        if (asp)
                                LOGP(DLSS7, LOGL_INFO, "%s: created dynamicASP 
%s\n",

-- 
To view, visit https://gerrit.osmocom.org/2300
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id346002c79ba2aba2183ebd46bead372a727316d
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>

Reply via email to