aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gtphub_ares.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-18 18:11:32 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-12-03 11:39:33 +0100
commitb6c2db569f03bf5eb0f9a12a9bca5c0d7637beca (patch)
tree268d08306d97f2907b2bad2af813180cbb5ef1a4 /openbsc/src/gprs/gtphub_ares.c
parentd9b1d49485195a79095bae162f8bd8d0abc04781 (diff)
gtphub: ares vty and init
From sgsn_vty.c, copy the cfg_grx_ggsn_cmd to add an ares server to the static sgsn_instance. This is sort of preliminary. As described in comments, the sgsn_ares functions should actually be separated from the static sgsn structure. gtphub keeps such an sgsn structure just for the sgsn_ares functions. Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/src/gprs/gtphub_ares.c')
-rw-r--r--openbsc/src/gprs/gtphub_ares.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gtphub_ares.c b/openbsc/src/gprs/gtphub_ares.c
index 852255639..7688b4788 100644
--- a/openbsc/src/gprs/gtphub_ares.c
+++ b/openbsc/src/gprs/gtphub_ares.c
@@ -197,7 +197,7 @@ struct gtphub_peer_port *gtphub_resolve_ggsn_addr(struct gtphub *hub,
LOGP(DGTPHUB, LOGL_DEBUG,
"GGSN resolved from cache: %s -> %s\n",
lookup->apn_oi_str,
- gtphub_peer_str(resolved->peer));
+ gtphub_port_str(resolved->peer));
return resolved->peer;
}
}