osmo_ss7.c: fix copy-paste error in xua_accept_cb()

Change-Id: I3d991849459378b35a5b4f248cc208f956e494be
This commit is contained in:
Vadim Yanitskiy 2019-11-06 21:05:35 +07:00
parent 348af264d2
commit bd8dff2751
1 changed files with 1 additions and 1 deletions

View File

@ -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;