lynxis lazus submitted this change.
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(-)
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;
To view, visit change 39700. To unsubscribe, or for help writing mail filters, visit settings.