lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/39700?usp=email )
Change subject: gtp: Send RAT type IE in update context request if present ......................................................................
gtp: Send RAT type IE in update context request if present
Change-Id: Idbabd123838b88cb0a2407480ca5fab10312a547 --- M gtp/gtp.c 1 file changed, 5 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified lynxis lazus: Looks good to me, approved laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve
diff --git a/gtp/gtp.c b/gtp/gtp.c index 9f2d484..3c85cc0 100644 --- a/gtp/gtp.c +++ b/gtp/gtp.c @@ -1730,6 +1730,11 @@ gtpie_tlv(&packet, &length, GTP_MAX, GTPIE_DIR_TUN_FLAGS, pdp->dir_tun_flags.l, pdp->dir_tun_flags.v);
+ /* new R7 fields */ + if ((pdp->version == 1) && (pdp->rattype_given == 1)) + gtpie_tlv(&packet, &length, GTP_MAX, GTPIE_RAT_TYPE, + pdp->rattype.l, pdp->rattype.v); + gtp_req(gsn, pdp->version, pdp, &packet, length, inetaddr, cbp);
return 0;