diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2014-02-22 22:38:05 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2014-02-22 22:38:05 +0100 |
commit | f8ca765f8b9c395486882fe2548d2fe0350142af (patch) | |
tree | c9a14f5b9ecfbe0b8fbbee037c86dca3a02db2e0 /tools | |
parent | 0829e0efebfcd442cee4fea64523478be7b141f4 (diff) |
tools: gtp-tunnel: fix accidentally swapped ms_addr and sgsn_addr
The output was swapping the ms and the sgsn addresses.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gtp-tunnel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gtp-tunnel.c b/tools/gtp-tunnel.c index ec091db..4980825 100644 --- a/tools/gtp-tunnel.c +++ b/tools/gtp-tunnel.c @@ -148,8 +148,8 @@ 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.sgsn_addr)); - printf("sgsn_addr %s\n", inet_ntoa(pdp.ms_addr)); + printf("tid %llu ms_addr %s ", pdp.tid, inet_ntoa(pdp.ms_addr)); + printf("sgsn_addr %s\n", inet_ntoa(pdp.sgsn_addr)); return MNL_CB_OK; } |