daniel has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-gbproxy/+/27322 )


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

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

Change-Id: I0b54813c04bae2c63975082ad2dacae8affd3127
---
M src/gb_proxy.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gbproxy refs/changes/22/27322/1

diff --git a/src/gb_proxy.c b/src/gb_proxy.c
index 69a58d4..c2b958a 100644
--- a/src/gb_proxy.c
+++ b/src/gb_proxy.c
@@ -348,6 +348,8 @@
                        continue;
                if (sgsn->nse != sgsn_bvc->nse)
                        continue;
+               if (!bssgp_bvc_fsm_is_unblocked(sgsn_bvc->fi))
+                       continue;

                return sgsn_bvc;
        }

--
To view, visit https://gerrit.osmocom.org/c/osmo-gbproxy/+/27322
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gbproxy
Gerrit-Branch: master
Gerrit-Change-Id: I0b54813c04bae2c63975082ad2dacae8affd3127
Gerrit-Change-Number: 27322
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <[email protected]>
Gerrit-MessageType: newchange

Reply via email to