aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-06 20:15:40 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-06 20:15:40 +0800
commitda340638fdbb800f383707f8a43ef9d48e8c687e (patch)
tree81cd374715d9c9444fa65435fd8cccfd5f4c6ad2
parent7d47601a35be7a1151e37da082fd4649b8689af8 (diff)
nat: Do not report paging to every BTS...
-rw-r--r--openbsc/src/nat/bsc_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index 9cf3ba32f..e029b1176 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -473,7 +473,7 @@ send_to_all:
LOGP(DNAT, LOGL_DEBUG, "Paging forbidden for BTS: %d\n", bsc->cfg->nr);
else if (bsc)
bsc_send_data(bsc, msg->l2h, msgb_l2len(msg), parsed->ipa_proto);
- else
+ else if (lac != -1)
LOGP(DNAT, LOGL_ERROR, "Could not determine BSC for paging on lac: %d/0x%x\n",
lac, lac);