aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-12 14:11:09 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-12 14:11:09 +0100
commit49685d7bdda3a2df1f001c06ee1d4cd47e6a4fdf (patch)
tree6a88bbe448be64dccfa5d30bc8db01de37966c59 /openbsc
parent4669f3d9c8743305e1f808f084064d98feaccd77 (diff)
parentd6aa52488a19674fb142e9619b579f600b2fec9a (diff)
Merge remote branch 'origin/master'
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/bsc_init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c
index d21f71a0c..c46fb2cdc 100644
--- a/openbsc/src/bsc_init.c
+++ b/openbsc/src/bsc_init.c
@@ -795,6 +795,14 @@ static int bootstrap_bts(struct gsm_bts *bts)
return -EINVAL;
}
+ if (bts->network->auth_policy == GSM_AUTH_POLICY_ACCEPT_ALL &&
+ !bts->cell_barred)
+ fprintf(stderr, "\nWARNING: You are running an 'accept-all' "
+ "network on a BTS that is not barred. This "
+ "configuration is likely to interfere with production "
+ "GSM networks and should only be used in a RF "
+ "shielded environment such as a faraday cage!\n\n");
+
/* Control Channel Description */
bts->si_common.chan_desc.att = 1;
bts->si_common.chan_desc.ccch_conf = RSL_BCCH_CCCH_CONF_1_C;