gtp: Specify retrans queue name & seqnum in log lines
Change-Id: I4f193d7a482ace33afd8526b5f50d2d03467d5fa
This commit is contained in:
parent
674a912fb5
commit
bdf0697a5a
|
@ -630,8 +630,8 @@ static int gtp_req(struct gsn_t *gsn, uint8_t version, struct pdp_t *pdp,
|
|||
/* Use new queue structure */
|
||||
if (queue_newmsg(gsn->queue_req, &qmsg, &addr, gsn->seq_next)) {
|
||||
gsn->err_queuefull++;
|
||||
LOGP(DLGTP, LOGL_ERROR,
|
||||
"Retransmit queue is full\n");
|
||||
LOGP(DLGTP, LOGL_ERROR, "Retransmit req queue is full (seq=%" PRIu16 ")\n",
|
||||
gsn->seq_next);
|
||||
} else {
|
||||
memcpy(&qmsg->p, packet, sizeof(union gtp_packet));
|
||||
qmsg->l = len;
|
||||
|
@ -758,7 +758,8 @@ static int gtp_resp(uint8_t version, struct gsn_t *gsn, struct pdp_t *pdp,
|
|||
/* Use new queue structure */
|
||||
if (queue_newmsg(gsn->queue_resp, &qmsg, peer, seq)) {
|
||||
gsn->err_queuefull++;
|
||||
LOGP(DLGTP, LOGL_ERROR, "Retransmit queue is full\n");
|
||||
LOGP(DLGTP, LOGL_ERROR, "Retransmit resp queue is full (seq=%" PRIu16 ")\n",
|
||||
seq);
|
||||
} else {
|
||||
memcpy(&qmsg->p, packet, sizeof(union gtp_packet));
|
||||
qmsg->l = len;
|
||||
|
|
Loading…
Reference in New Issue