aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn/ggsn.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-04-23 17:06:32 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-04-23 17:06:32 +0200
commit39dcb9e6e339c895d0090c598fe066bcc1fc422f (patch)
tree391d9f80e78fc2d1c79dc0546ad8bf0a07865ba5 /ggsn/ggsn.c
parent3c49a5f7d7fd087e3f7a52b331a3a280800cb1d3 (diff)
Diffstat (limited to 'ggsn/ggsn.c')
-rw-r--r--ggsn/ggsn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c
index 1d77a73..59b20f6 100644
--- a/ggsn/ggsn.c
+++ b/ggsn/ggsn.c
@@ -632,13 +632,15 @@ int create_context_ind(struct pdp_t *pdp)
memcpy(pdp->qos_neg0, pdp->qos_req0, sizeof(pdp->qos_req0));
-#if 0
+#if 1
memcpy(pdp->qos_neg.v, pdp->qos_req.v, pdp->qos_req.l); /* TODO */
pdp->qos_neg.l = pdp->qos_req.l;
#else
+ LOGPPDP(LOGL_ERROR, pdp, "PATCHING QoS to 14 bytes of zero\n");
memset(pdp->qos_neg.v, 0, sizeof(pdp->qos_neg.v));
pdp->qos_neg.l = 0xe;
#endif
+ LOGPPDP(LOGL_ERROR, pdp, "SENDING QoS 0x%x %s\n", pdp->qos_neg.l, osmo_hexdump(pdp->qos_neg.v, pdp->qos_neg.l));
memset(addr, 0, sizeof(addr));
if ((num_addr = in46a_from_eua(&pdp->eua, addr)) < 0) {