diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2014-03-20 12:56:31 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2014-03-20 12:56:31 +0100 |
commit | 9b649117b698046f48e88e1007390f58018bbdf3 (patch) | |
tree | 47e23b0adc504e2b41bb383f04720325939a37a4 | |
parent | 57c6ecb1852222606af6f5481791247d7f8d9cd8 (diff) |
libgtpnl: tools: gtp-tunnel: display teid in hexadecimal
So it is displayed like in wireshark.
-rw-r--r-- | libgtnl/tools/gtp-tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgtnl/tools/gtp-tunnel.c b/libgtnl/tools/gtp-tunnel.c index 4980825..763ce53 100644 --- a/libgtnl/tools/gtp-tunnel.c +++ b/libgtnl/tools/gtp-tunnel.c @@ -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; |