pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-hnbgw/+/40245?usp=email )

Change subject: sccp: Use proper wording s/LOG_HSI/LOG_HSU
......................................................................

sccp: Use proper wording s/LOG_HSI/LOG_HSU

Change-Id: I9b543416488a8396c3b548c63169374f999f32fc
---
M include/osmocom/hnbgw/hnbgw_sccp.h
M src/osmo-hnbgw/hnbgw_sccp.c
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved




diff --git a/include/osmocom/hnbgw/hnbgw_sccp.h 
b/include/osmocom/hnbgw/hnbgw_sccp.h
index 8188b55..7cf67a5 100644
--- a/include/osmocom/hnbgw/hnbgw_sccp.h
+++ b/include/osmocom/hnbgw/hnbgw_sccp.h
@@ -32,7 +32,7 @@
        DECLARE_HASHTABLE(hnbgw_context_map_by_conn_id, 6);
 };

-#define LOG_HSI(HNBGW_SCCP_INST, SUBSYS, LEVEL, FMT, ARGS...) \
-       LOGP(SUBSYS, LEVEL, "(%s) " FMT, (HNBGW_SCCP_INST) ? 
(HNBGW_SCCP_INST)->name : "null", ##ARGS)
+#define LOG_HSU(HSU, SUBSYS, LEVEL, FMT, ARGS...) \
+       LOGP(SUBSYS, LEVEL, "(%s) " FMT, (HSU) ? (HSU)->name : "null", ##ARGS)

 struct hnbgw_sccp_user *hnbgw_sccp_user_alloc(const struct hnbgw_cnlink 
*cnlink, int ss7_inst_id);
diff --git a/src/osmo-hnbgw/hnbgw_sccp.c b/src/osmo-hnbgw/hnbgw_sccp.c
index 8570f51..67e0a53 100644
--- a/src/osmo-hnbgw/hnbgw_sccp.c
+++ b/src/osmo-hnbgw/hnbgw_sccp.c
@@ -71,7 +71,7 @@
        struct hnbgw_cnlink *cnlink = NULL;
        cnlink = hnbgw_cnlink_find_by_addr(hsu, calling_addr);
        if (!cnlink) {
-               LOG_HSI(hsu, DRANAP, LOGL_ERROR, "Rx from unknown SCCP peer: 
%s: %s\n",
+               LOG_HSU(hsu, DRANAP, LOGL_ERROR, "Rx from unknown SCCP peer: 
%s: %s\n",
                        osmo_sccp_inst_addr_name(osmo_ss7_get_sccp(hsu->ss7), 
calling_addr),
                        osmo_scu_prim_hdr_name_c(OTC_SELECT, oph));
                return NULL;

--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/40245?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I9b543416488a8396c3b548c63169374f999f32fc
Gerrit-Change-Number: 40245
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>

Reply via email to