diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-02-06 17:13:12 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-02-06 17:13:12 +0100 |
commit | c471d3d8a2fe0fd969a4228d1b095414777e9b39 (patch) | |
tree | 3e5cce63a3f9a1c2a5e19417076c53f10c3a9c82 | |
parent | 5e106d7765945f25b98e60ea1255c9f9bb86cfa0 (diff) |
[gb proxy] treat BVCI=1 consistently like signalling
1 is reserved for point-to-multipoint data, i.e. not a point-to-point BVCI.
-rw-r--r-- | openbsc/src/gprs/gb_proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index 6de76b796..b22906fee 100644 --- a/openbsc/src/gprs/gb_proxy.c +++ b/openbsc/src/gprs/gb_proxy.c @@ -255,7 +255,7 @@ static int gbprox_rx_sig_from_bss(struct msgb *msg, struct gprs_nsvc *nsvc, struct gbprox_peer *from_peer; struct gprs_ra_id raid; - if (ns_bvci != 0) { + if (ns_bvci != 0 && ns_bvci != 1) { LOGP(DGPRS, LOGL_NOTICE, "NSEI=%u BVCI=%u is not signalling\n", nsvc->nsei, ns_bvci); return -EINVAL; @@ -430,7 +430,7 @@ static int gbprox_rx_sig_from_sgsn(struct msgb *msg, struct gprs_nsvc *nsvc, uint16_t bvci; int rc = 0; - if (ns_bvci != 0) { + if (ns_bvci != 0 && ns_bvci != 1) { LOGP(DGPRS, LOGL_NOTICE, "NSEI=%u(SGSN) BVCI=%u is not " "signalling\n", nsvc->nsei, ns_bvci); /* FIXME: Send proper error message */ |