gbproxy: Only route to an SGSN if the BVC is not blocked

Change-Id: I0b54813c04bae2c63975082ad2dacae8affd3127
This commit is contained in:
Daniel Willmann 2022-02-23 18:00:48 +01:00 committed by laforge
parent 0531fab8a2
commit 5ceeb2b321
1 changed files with 2 additions and 0 deletions

View File

@ -348,6 +348,8 @@ static struct gbproxy_bvc *gbproxy_select_sgsn_bvc(struct gbproxy_config *cfg, s
continue;
if (sgsn->nse != sgsn_bvc->nse)
continue;
if (!bssgp_bvc_fsm_is_unblocked(sgsn_bvc->fi))
continue;
return sgsn_bvc;
}