diff --git a/src/hnbap_common.c b/src/hnbap_common.c index 29b0f3b3..0bb08fef 100644 --- a/src/hnbap_common.c +++ b/src/hnbap_common.c @@ -117,7 +117,7 @@ static struct msgb *hnbap_msgb_alloc(void) static struct msgb *_hnbap_gen_msg(HNBAP_PDU_t *pdu) { - struct msgb *msg = ranap_msgb_alloc(); + struct msgb *msg = hnbap_msgb_alloc(); asn_enc_rval_t rval; if (!msg)