aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2_vty.c
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-10-11 20:58:04 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-10-12 15:54:21 +0200
commitc4229a458c28af184260ee8e02aca4f124ec01b1 (patch)
treee8be6c172aa002563b74b12e341cae3186d046b9 /src/gb/gprs_ns2_vty.c
parent9a4cf275b2d2ae03702bd344291332f7e898da51 (diff)
gprs_ns2: rename gprs_ns2_ip_vc_sockaddr -> gprs_ns2_ip_vc_remote
It's more clear which part of the address is returned. In preparation to add a gprs_ns2_ip_vc_local. Change-Id: I6110ff573362961c713a990da7ef3f3dbedf6c57
Diffstat (limited to 'src/gb/gprs_ns2_vty.c')
-rw-r--r--src/gb/gprs_ns2_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 92c00958..a457361a 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -251,7 +251,7 @@ static void dump_nsvc(struct vty *vty, struct gprs_ns2_vc *nsvc, bool stats)
switch (nsvc->ll) {
case GPRS_NS_LL_UDP: {
- sockaddr = gprs_ns2_ip_vc_sockaddr(nsvc);
+ sockaddr = gprs_ns2_ip_vc_remote(nsvc);
if (!sockaddr) {
vty_out(vty, "unknown");
break;