lynxis lazus submitted this change.
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
sgsn_vty: correct show 2nd PDP Address
Change-Id: If684dfa1c712e5a16bf87110b4ab582f1dab5b4d
---
M src/sgsn/sgsn_vty.c
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sgsn/sgsn_vty.c b/src/sgsn/sgsn_vty.c
index daa3e92..2600a6f 100644
--- a/src/sgsn/sgsn_vty.c
+++ b/src/sgsn/sgsn_vty.c
@@ -1063,7 +1063,7 @@
if (pdp->pdp_address[0].u.sa.sa_family != AF_UNSPEC)
vty_out(vty, " Addr[0]: %s", osmo_sockaddr_ntop(&pdp->pdp_address[0].u.sa, ip_str));
- if (pdp->pdp_address[0].u.sa.sa_family != AF_UNSPEC)
+ if (pdp->pdp_address[1].u.sa.sa_family != AF_UNSPEC)
vty_out(vty, " Addr[1]: %s", osmo_sockaddr_ntop(&pdp->pdp_address[1].u.sa, ip_str));
vty_out(vty, ") APN: '%s'", pdp->apn_str);
To view, visit change 43702. To unsubscribe, or for help writing mail filters, visit settings.