Charging characteristics made optional
This commit is contained in:
parent
7e051d37bb
commit
9b4971d4a6
|
@ -1062,13 +1062,13 @@ extern int gtp_create_context_req(struct gsn_t *gsn, struct pdp_t *pdp,
|
|||
gtpie_tv1(&packet, &length, GTP_MAX, GTPIE_NSAPI,
|
||||
pdp->nsapi);
|
||||
|
||||
|
||||
if (pdp->secondary) /* Secondary PDP Context Activation Procedure */
|
||||
gtpie_tv1(&packet, &length, GTP_MAX, GTPIE_NSAPI,
|
||||
linked_pdp->nsapi);
|
||||
|
||||
gtpie_tv2(&packet, &length, GTP_MAX, GTPIE_CHARGING_C,
|
||||
pdp->cch_pdp);
|
||||
|
||||
if (pdp->cch_pdp) /* Only include charging if flags are set */
|
||||
gtpie_tv2(&packet, &length, GTP_MAX, GTPIE_CHARGING_C,
|
||||
pdp->cch_pdp);
|
||||
}
|
||||
|
||||
/* TODO
|
||||
|
|
Reference in New Issue