aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_main.cpp
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-01-26 11:49:19 +0100
committerMax <msuraev@sysmocom.de>2016-01-26 11:49:19 +0100
commitbbd0ae7ce2ade0267ef5077089463d26f2564933 (patch)
tree2f8db49d4139e11d31c66ecbc4948a24faaa4657 /src/pcu_main.cpp
parent9064c07f1e12a79a9b5b1adae16daa20b62a4a22 (diff)
Diffstat (limited to 'src/pcu_main.cpp')
-rw-r--r--src/pcu_main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index a9f9df1..53fa2d7 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -44,6 +44,7 @@ void *tall_pcu_ctx;
extern void *bv_tall_ctx;
static int quit = 0;
static int rt_prio = -1;
+static char *gsmtap_ip = 0;
static void print_help()
{
@@ -57,6 +58,7 @@ static void print_help()
"provided by BTS\n"
" -r --realtime PRIO Use SCHED_RR with the specified "
"priority\n"
+ " -i --gsmtap-ip The destination IP used for GSMTAP.\n"
);
}
@@ -73,6 +75,7 @@ static void handle_options(int argc, char **argv)
{ "version", 0, 0, 'V' },
{ "realtime", 1, 0, 'r' },
{ "exit", 0, 0, 'e' },
+ { "gsmtap-ip", 1, 0, 'i' },
{ 0, 0, 0, 0 }
};
@@ -101,6 +104,9 @@ static void handle_options(int argc, char **argv)
print_version(1);
exit(0);
break;
+ case 'i':
+ gsmtap_ip = optarg;
+ break;
case 'r':
rt_prio = atoi(optarg);
break;