mirror of https://gerrit.osmocom.org/libosmocore
gprs_ns2_sns: bss: set gss->family
gss->family (and gss->ip) was never set.
So IPv6 should have never worked.
Fixes: e769f5226b
("gprs_ns2_sns: rework IP-SNS initial remote")
Related: OS#5036
Change-Id: I4e39dc5c7f766a7040645ceb62afdf6a9cfad00f
This commit is contained in:
parent
077ce5ac94
commit
68ab9c4193
|
@ -1600,6 +1600,7 @@ static void ns2_sns_st_all_action_bss(struct osmo_fsm_inst *fi, uint32_t event,
|
|||
gss->initial = llist_entry(gss->initial->list.next, struct sns_endpoint, list);
|
||||
}
|
||||
|
||||
gss->family = gss->initial->saddr.u.sa.sa_family;
|
||||
gss->reselection_running = false;
|
||||
osmo_fsm_inst_state_chg(fi, GPRS_SNS_ST_BSS_SIZE, nse->nsi->timeout[NS_TOUT_TSNS_PROV], 1);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue