summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-07-06 18:41:43 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-06 19:19:30 +0200
commit62c68e19acbbe4940616a2feb984503f22b868b4 (patch)
tree0c9c058340d94b36dda238c1f78ee2fb7e894c3a
parent15ffba535ba0e6b81411ad5726630c5934dece50 (diff)
omit point-codeneels/omit_pc
-rw-r--r--src/sccp_scrc.c2
-rw-r--r--src/xua_msg.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/sccp_scrc.c b/src/sccp_scrc.c
index cd01774..7325d58 100644
--- a/src/sccp_scrc.c
+++ b/src/sccp_scrc.c
@@ -357,7 +357,7 @@ static int scrc_local_out_common(struct osmo_sccp_instance *inst,
struct osmo_ss7_instance *s7i = inst->ss7;
/* Called address includes DPC? */
- if (called->presence & OSMO_SCCP_ADDR_T_PC) {
+ if (called->presence & (OSMO_SCCP_ADDR_T_PC | OSMO_SCCP_ADDR_T_SSN)) {
if (!osmo_ss7_pc_is_local(s7i, called->pc)) {
/* Node 7 of sheet 5 */
/* Coupling required: no */
diff --git a/src/xua_msg.c b/src/xua_msg.c
index d56009f..125fa66 100644
--- a/src/xua_msg.c
+++ b/src/xua_msg.c
@@ -363,9 +363,11 @@ int xua_msg_add_sccp_addr(struct xua_msg *xua, uint16_t iei, const struct osmo_s
if (addr->presence & OSMO_SCCP_ADDR_T_GT) {
xua_part_add_gt(tmp, &addr->gt);
}
+ /*
if (addr->presence & OSMO_SCCP_ADDR_T_PC) {
msgb_t16l16vp_put_u32(tmp, SUA_IEI_PC, addr->pc);
}
+ */
if (addr->presence & OSMO_SCCP_ADDR_T_SSN) {
msgb_t16l16vp_put_u32(tmp, SUA_IEI_SSN, addr->ssn);
}