summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-nitb
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-23 14:57:22 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-25 12:18:04 +0100
commitf4a3123145b104fc1a6b7f17c299479a8f734918 (patch)
tree220f489c67fe43926bf2e831d3c75cb49ccbb1c5 /openbsc/src/osmo-nitb
parent0ade63233b118fdc54b404ca742f1dabb9408191 (diff)
osmo-nitb: cosmetic: rename to rf_ctrl_path, following mncc_sock_path
Strictly speaking, the unix domain socket location is not a name but a path. The MNCC socket is called path, so it is confusing to call the ctrl socket a 'name'.
Diffstat (limited to 'openbsc/src/osmo-nitb')
-rw-r--r--openbsc/src/osmo-nitb/bsc_hack.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index 3c878a635..a89300aca 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -59,7 +59,7 @@
struct gsm_network *bsc_gsmnet = 0;
static const char *database_name = "hlr.sqlite3";
static const char *config_file = "openbsc.cfg";
-static const char *rf_ctrl_name = NULL;
+static const char *rf_ctrl_path = NULL;
extern const char *openbsc_copyright;
static int daemonize = 0;
static const char *mncc_sock_path = NULL;
@@ -106,7 +106,7 @@ static void print_help()
printf(" -M --mncc-sock-path PATH Disable built-in MNCC handler and offer socket.\n");
printf(" -m --mncc-sock Same as `-M /tmp/bsc_mncc' (deprecated).\n");
printf(" -C --no-dbcounter Disable regular syncing of counters to database.\n");
- printf(" -r --rf-ctl NAME A unix domain socket to listen for cmds.\n");
+ printf(" -r --rf-ctl PATH A unix domain socket to listen for cmds.\n");
}
static void handle_options(int argc, char **argv)
@@ -184,7 +184,7 @@ static void handle_options(int argc, char **argv)
exit(0);
break;
case 'r':
- rf_ctrl_name = optarg;
+ rf_ctrl_path = optarg;
break;
default:
/* ignore */
@@ -312,7 +312,7 @@ int main(int argc, char **argv)
/* seed the PRNG */
srand(time(NULL));
- bsc_gsmnet->bsc_data->rf_ctrl = osmo_bsc_rf_create(rf_ctrl_name, bsc_gsmnet);
+ bsc_gsmnet->bsc_data->rf_ctrl = osmo_bsc_rf_create(rf_ctrl_path, bsc_gsmnet);
if (!bsc_gsmnet->bsc_data->rf_ctrl) {
fprintf(stderr, "Failed to create the RF service.\n");
exit(1);