commit | 28f6349315c6753f1ef19daa2e13233283ec9287 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Sun Dec 06 16:40:24 2015 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Mon Dec 07 13:37:04 2015 +0100 |
tree | 214164d249b870c66f608e4ae049d8ae3940767f | |
parent | ed4bdef9856c8d6eb4fdfec6a2bf400ec88a4b12 [diff] |
gtphub: be strict about unknown cmdline args Sponsored-by: On-Waves ehi
diff --git a/openbsc/src/gprs/gtphub_main.c b/openbsc/src/gprs/gtphub_main.c index 0a7d383..f56c446 100644 --- a/openbsc/src/gprs/gtphub_main.c +++ b/openbsc/src/gprs/gtphub_main.c
@@ -276,7 +276,8 @@ ccfg->restart_counter_file = optarg; break; default: - /* ignore */ + LOGP(DGTPHUB, LOGL_FATAL, "Invalid command line argument, abort.\n"); + exit(1); break; } }