osmith has uploaded this change for review. ( https://gerrit.osmocom.org/14011


Change subject: Use gtp_delete_context_req2() everywhere
......................................................................

Use gtp_delete_context_req2() everywhere

Replace calls to gtp_delete_context_req() with
gtp_delete_context_req2().

Related: OS#2741
Change-Id: Iecc8c5ac45207e7e20129559c4ac7f3c67dfb36a
---
M ggsn/ggsn.c
M sgsnemu/sgsnemu.c
2 files changed, 2 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/11/14011/1

diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c
index 2d37cf0..db20d15 100644
--- a/ggsn/ggsn.c
+++ b/ggsn/ggsn.c
@@ -107,7 +107,7 @@
                if (!pdp)
                        continue;
                LOGPPDP(LOGL_DEBUG, pdp, "Sending DELETE PDP CTX due to 
shutdown\n");
-               gtp_delete_context_req(pdp->gsn, pdp, NULL, 1);
+               gtp_delete_context_req2(pdp->gsn, pdp, NULL, 1);
        }
 }

diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index a2220f0..0676f7e 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -1756,8 +1756,7 @@
                        for (n = 0; n < options.contexts; n++) {
                                /* Delete context */
                                printf("Disconnecting PDP context #%d\n", n);
-                               gtp_delete_context_req(gsn, iparr[n].pdp, NULL,
-                                                      1);
+                               gtp_delete_context_req2(gsn, iparr[n].pdp, 
NULL, 1);
                                if ((options.pinghost.s_addr != 0)
                                    && ntransmitted)
                                        ping_finish();

--
To view, visit https://gerrit.osmocom.org/14011
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iecc8c5ac45207e7e20129559c4ac7f3c67dfb36a
Gerrit-Change-Number: 14011
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to