summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-11-06 21:05:35 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-11-06 22:02:31 +0700
commitbd8dff2751d0593cb48cc2fe5f2449ce25d8d1de (patch)
treedb2fc9ef02bbd6649dfd1cfdcc5a3b907d2a7bad
parent348af264d205a2dd5fd6b1c2499b72a1ccd71d6a (diff)
osmo_ss7.c: fix copy-paste error in xua_accept_cb()
-rw-r--r--src/osmo_ss7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 1b9e3d1..77e8f72 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -1764,7 +1764,7 @@ static int xua_accept_cb(struct osmo_stream_srv_link *link, int fd)
sock_name, asp->cfg.name);
asp->cfg.is_server = true;
asp->cfg.local.host[0] = NULL;
- asp->cfg.remote.host_cnt = 1;
+ asp->cfg.local.host_cnt = 1;
asp->cfg.remote.port = atoi(portbuf);
asp->cfg.remote.host[0] = talloc_strdup(asp, hostbuf);
asp->cfg.remote.host_cnt = 1;