diff options
Diffstat (limited to 'gtp')
-rw-r--r-- | gtp/gtp.c | 3 | ||||
-rw-r--r-- | gtp/pdp.h | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -1056,7 +1056,8 @@ extern int gtp_create_context_req(struct gsn_t *gsn, struct pdp_t *pdp, /* Section 7.7.11 */ - gtpie_tv1(&packet, &length, GTP_MAX, GTPIE_RECOVERY, + if (pdp->norecovery_given == 0) + gtpie_tv1(&packet, &length, GTP_MAX, GTPIE_RECOVERY, gsn->restart_counter); /* Section 7.7.12 */ @@ -198,6 +198,7 @@ struct pdp_t { int mstz_given; /* MS Time Zone given*/ struct ul255_t imeisv; /* IMEI Software Version */ int imeisv_given; /* IMEI Software Version given*/ + int norecovery_given; /* norecovery given*/ /* Additional parameters used by library */ |