path: root/src/gtphub/gtphub_sock.c
diff options
authorAlexander Couzens <lynxis@fe80.eu>2020-07-18 16:45:25 +0200
committerHarald Welte <laforge@osmocom.org>2020-08-13 11:35:49 +0200
commit2ab489641beaf494eca543ebe09097bfdc57d6d5 (patch)
tree3a50f101653d0f7e6152651a0faa20a9806fd577 /src/gtphub/gtphub_sock.c
parenta6f24d1d2aaec1e47039252579a24e395a44a290 (diff)
gtphub: rename sgsn's oww osmo_sockaddr into sgsn_sockaddr
The osmo_ prefix should be only used for official struct/apis of libosmocore. This commit was done via `sed -i 's/osmo_sockaddr/sgsn_sockaddr/g'`. In prepartion of introducing a different api of osmo_sockaddr to libosmocore. Change-Id: Ibb1ddce9ff1ffe7494de5cdb8ea1843c45fe4566
Diffstat (limited to 'src/gtphub/gtphub_sock.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtphub/gtphub_sock.c b/src/gtphub/gtphub_sock.c
index 1acd5a62..18375334 100644
--- a/src/gtphub/gtphub_sock.c
+++ b/src/gtphub/gtphub_sock.c
@@ -33,13 +33,13 @@
LOGP(DGTPHUB, level, fmt, ##args)
int gtphub_write(const struct osmo_fd *to,
- const struct osmo_sockaddr *to_addr,
+ const struct sgsn_sockaddr *to_addr,
const uint8_t *buf, size_t buf_len)
errno = 0;
ssize_t sent = sendto(to->fd, buf, buf_len, 0,
(struct sockaddr*)&to_addr->a, to_addr->l);
- LOG(LOGL_DEBUG, "to %s\n", osmo_sockaddr_to_str(to_addr));
+ LOG(LOGL_DEBUG, "to %s\n", sgsn_sockaddr_to_str(to_addr));
if (sent == -1) {
LOG(LOGL_ERROR, "error: %s\n", strerror(errno));