daniel has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-sgsn/+/35094?usp=email )


Change subject: libgtp: Check for all successful create_pdp_conf causes
......................................................................

libgtp: Check for all successful create_pdp_conf causes

Related: OS#6268
Change-Id: I11ce72908c2dfb983887e6c1db316fd7de42f027
---
M src/sgsn/sgsn_libgtp.c
1 file changed, 11 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/94/35094/1

diff --git a/src/sgsn/sgsn_libgtp.c b/src/sgsn/sgsn_libgtp.c
index 0b6da62..6e09562 100644
--- a/src/sgsn/sgsn_libgtp.c
+++ b/src/sgsn/sgsn_libgtp.c
@@ -417,7 +417,7 @@
        }

        /* Check for cause value if it was really successful */
-       if (cause != GTPCAUSE_ACC_REQ) {
+       if (gtp_cause_successful(cause)) {
                reject_cause = cause_map(gtp2sm_cause_map, cause,
                                         GSM_CAUSE_ACT_REJ_GGSN);
                goto reject;

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

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I11ce72908c2dfb983887e6c1db316fd7de42f027
Gerrit-Change-Number: 35094
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <[email protected]>
Gerrit-MessageType: newchange

Reply via email to