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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/25955 )
Change subject: hnbgw_cn.c: Use proper type struct
......................................................................
hnbgw_cn.c: Use proper type struct
Change-Id: Icc8b90866a8edce9d10c87f4ced7137edf1c46f0
---
M src/hnbgw_cn.c
1 file changed, 5 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/55/25955/1
diff --git a/src/hnbgw_cn.c b/src/hnbgw_cn.c
index 0623561..7b3cb09 100644
--- a/src/hnbgw_cn.c
+++ b/src/hnbgw_cn.c
@@ -34,7 +34,6 @@
#include <osmocom/ranap/ranap_ies_defs.h>
#include <osmocom/ranap/ranap_msg_factory.h>
#include <osmocom/iuh/context_map.h>
-#include <osmocom/hnbap/CN-DomainIndicator.h>
/***********************************************************************
* Outbound RANAP RESET to CN
@@ -52,7 +51,7 @@
};
LOGP(DRANAP, LOGL_NOTICE, "Tx RESET to %s %s\n",
- domain == CN_DomainIndicator_cs_domain ? "IuCS" : "IuPS",
+ domain == RANAP_CN_DomainIndicator_cs_domain ? "IuCS" : "IuPS",
osmo_sccp_inst_addr_name(gw->sccp.cnlink->sccp, remote_addr));
msg = ranap_new_msg_reset(domain, &cause);
@@ -69,7 +68,7 @@
struct msgb *msg;
LOGP(DRANAP, LOGL_NOTICE, "Tx RESET ACK to %s %s\n",
- domain == CN_DomainIndicator_cs_domain ? "IuCS" : "IuPS",
+ domain == RANAP_CN_DomainIndicator_cs_domain ? "IuCS" : "IuPS",
osmo_sccp_inst_addr_name(gw->sccp.cnlink->sccp, remote_addr));
msg = ranap_new_msg_reset_ack(domain, NULL);
@@ -119,7 +118,7 @@
const struct osmo_scu_unitdata_param *unitdata,
RANAP_InitiatingMessage_t *imsg)
{
- CN_DomainIndicator_t domain;
+ RANAP_CN_DomainIndicator_t domain;
RANAP_ResetIEs_t ies;
int rc;
@@ -128,14 +127,14 @@
ranap_free_reseties(&ies);
LOGP(DRANAP, LOGL_NOTICE, "Rx RESET from %s %s, returning ACK\n",
- domain == CN_DomainIndicator_cs_domain ? "IuCS" : "IuPS",
+ domain == RANAP_CN_DomainIndicator_cs_domain ? "IuCS" : "IuPS",
osmo_sccp_inst_addr_name(cnlink->sccp, &unitdata->calling_addr));
/* FIXME: actually reset connections, if any */
if (transmit_reset_ack(cnlink->gw, domain, &unitdata->calling_addr))
LOGP(DRANAP, LOGL_ERROR, "Error: cannot send RESET ACK to %s %s\n",
- domain == CN_DomainIndicator_cs_domain ? "IuCS" : "IuPS",
+ domain == RANAP_CN_DomainIndicator_cs_domain ? "IuCS" : "IuPS",
osmo_sccp_inst_addr_name(cnlink->sccp, &unitdata->calling_addr));
return rc;
--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/25955
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: Icc8b90866a8edce9d10c87f4ced7137edf1c46f0
Gerrit-Change-Number: 25955
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211026/8c119b80/attachment.htm>