aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/openbsc.cfg.1-2-hopping
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-04-11 16:33:03 +0200
committerHarald Welte <laforge@gnumonks.org>2011-04-12 21:50:47 +0200
commit25ffe541185fdd772bef86a26feb5377b939be89 (patch)
treefcb6db30a59f9d5153f8c33707507bd68524b625 /openbsc/src/openbsc.cfg.1-2-hopping
parent23b1b808f1ce65b8aec3095b52e0bc3946cde4bb (diff)
ipaccess-proxy: more robust option parsing and checking
With this patch, ipaccess-proxy makes more robust option checking: $ ./ipaccess-proxy -l 1.1.1.1 -b 2.2.2.2 -e ERROR: missing mandatory argument for `-e' option And we return to shell to enforce the user to try again with the appropriate invocation. Before this patch, the default getopt_long() error handling was enabled which displayed this message: ./ipaccess-proxy: option requires an argument -- 'e' and ipaccess-proxy continued working. This is generic enough to cover other option that require mandatory arguments like `--bsc' and `--listen'.
Diffstat (limited to 'openbsc/src/openbsc.cfg.1-2-hopping')
0 files changed, 0 insertions, 0 deletions