tools: gtp-tunnel: fix accidentally swapped ms_addr and sgsn_addr
The output was swapping the ms and the sgsn addresses.
This commit is contained in:
parent
4c2e76077a
commit
e91a1a4ab7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue