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.
This commit is contained in:
Robert Schmidt
2026-01-13 13:28:46 +01:00
parent b60a37ebb8
commit d7a940baba
+2 -2
View File
@@ -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;