neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-hnbgw/+/29232 )


Change subject: fix regression: in RUA, do PFCP only when enabled
......................................................................

fix regression: in RUA, do PFCP only when enabled

Tested in ttcn3, by test cases not ready for submission (would require
enabling/disabling PFCP while osmo-hnbgw is running).
ttcn3 tests in I511e758807e0512c18f3f9e0a8c4699b9a3f5992

Change-Id: I39b9632f8524a9f3455c1a2d7611bfe8ba07c2fd
---
M src/osmo-hnbgw/hnbgw_rua.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/32/29232/1

diff --git a/src/osmo-hnbgw/hnbgw_rua.c b/src/osmo-hnbgw/hnbgw_rua.c
index 7d5492f..f4e24d7 100644
--- a/src/osmo-hnbgw/hnbgw_rua.c
+++ b/src/osmo-hnbgw/hnbgw_rua.c
@@ -291,7 +291,8 @@

                        talloc_free(message);
 #if ENABLE_PFCP
-               } else {
+               } else if (hnb_gw_is_gtp_mapping_enabled(hnb->gw)) {
+                       /* map->is_ps == true and PFCP is enabled in 
osmo-hnbgw.cfg */
                        message = talloc_zero(map, ranap_message);
                        rc = ranap_cn_rx_co_decode(map, message, 
msgb_l2(prim->oph.msg), msgb_l2len(prim->oph.msg));


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

Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I39b9632f8524a9f3455c1a2d7611bfe8ba07c2fd
Gerrit-Change-Number: 29232
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-MessageType: newchange

Reply via email to