Commit d7a940ba authored by Robert Schmidt's avatar Robert Schmidt

Log TEID in host order

All over the GTP module, we use ntohl()/htonl() to convert between local
and network order. It seems to have been forgotten here.
parent b60a37eb
......@@ -1036,9 +1036,9 @@ static int Gtpv1uHandleError(int h, uint8_t *msgBuf, uint32_t msgBufLen, const s
" TV id for GTP addr %u (should be 133)\n"
" len for addr of UPF %u (should be IPv4 or IPv6 len)"
" (TS 29.281 Sec 7.3.1 Error Handling not implemented)\n",
msg->h.teid,
ntohl(msg->h.teid),
msg->teid_data_i,
msg->teid,
ntohl(msg->teid),
msg->addr_data_i,
msg->addr_len);
int rc = GTPNOK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment