aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_main.cpp
diff options
context:
space:
mode:
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 a9f9df10..53fa2d70 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;