X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=gsm_conf.c;h=560d9b36ce02e95f01ea808bdab8026d38b5eade;hp=082a6ed41e3df76672ded11ad55f603d46c5f88a;hb=bf2fefbfd59871d46d0d177638d48d40c75899b3;hpb=8994874d7bcb1eff9ee833fb22e4910cc365f456 diff --git a/gsm_conf.c b/gsm_conf.c index 082a6ed..560d9b3 100644 --- a/gsm_conf.c +++ b/gsm_conf.c @@ -141,12 +141,8 @@ int gsm_conf(struct gsm_conf *gsm_conf) } else if (!strcmp(option,"reject-cause")) { - if (params[0][0]==0) { - SPRINT(gsm_conf_error, "Error in %s (line %d): parameter for option %s missing.\n",filename,line, option); - goto error; - } - gsm_conf->reject_cause = atoi(params[0]); - + SPRINT(gsm_conf_error, "Option '%s' in gsm.conf has moved to openbsc.cfg", option); + goto error; } else if (!strcmp(option,"allow-all")) { gsm_conf->allow_all = 1; @@ -158,9 +154,6 @@ int gsm_conf(struct gsm_conf *gsm_conf) if (!strcmp(option,"no-mergency-shutdown")) { gsm_conf->noemergshut = 1; } else - if (!strcmp(option,"rtp-proxy")) { - gsm_conf->rtp_proxy = 1; - } else if (!strcmp(option,"pcapfile")) { if (params[0][0]==0) { SPRINT(gsm_conf_error, "Error in %s (line %d): parameter for option %s missing.\n",filename,line, option);