gbproxy: Only route to an SGSN if the BVC is not blocked
Change-Id: I0b54813c04bae2c63975082ad2dacae8affd3127
This commit is contained in:
parent
0531fab8a2
commit
5ceeb2b321
|
@ -348,6 +348,8 @@ static struct gbproxy_bvc *gbproxy_select_sgsn_bvc(struct gbproxy_config *cfg, s
|
||||||
continue;
|
continue;
|
||||||
if (sgsn->nse != sgsn_bvc->nse)
|
if (sgsn->nse != sgsn_bvc->nse)
|
||||||
continue;
|
continue;
|
||||||
|
if (!bssgp_bvc_fsm_is_unblocked(sgsn_bvc->fi))
|
||||||
|
continue;
|
||||||
|
|
||||||
return sgsn_bvc;
|
return sgsn_bvc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue