From bd8dff2751d0593cb48cc2fe5f2449ce25d8d1de Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 6 Nov 2019 21:05:35 +0700 Subject: osmo_ss7.c: fix copy-paste error in xua_accept_cb() Change-Id: I3d991849459378b35a5b4f248cc208f956e494be --- src/osmo_ss7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3