libgtpnl: tools: gtp-tunnel: display teid in hexadecimal

So it is displayed like in wireshark.
This commit is contained in:
Pablo Neira Ayuso 2014-03-20 12:56:31 +01:00
parent 57c6ecb185
commit 9b649117b6
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ static int genl_gtp_attr_cb(const struct nlmsghdr *nlh, void *data)
}
printf("version %u ", pdp.version);
printf("tid %llu ms_addr %s ", pdp.tid, inet_ntoa(pdp.ms_addr));
printf("tid %llx ms_addr %s ", pdp.tid, inet_ntoa(pdp.ms_addr));
printf("sgsn_addr %s\n", inet_ntoa(pdp.sgsn_addr));
return MNL_CB_OK;