aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipaccess/ipaccess-firmware.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-03-12 20:11:28 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-13 08:40:03 +0000
commitb4d39eb67e320a862d4a44a98cf5febd347ce6d9 (patch)
tree91d34b8ecb31890809ff92c0a20ef9096d289563 /src/ipaccess/ipaccess-firmware.c
parentc80b8763443c46dd5f02b3606bacdb6037362e6b (diff)
ipaccess-config: Improve handling of last parameter
Check exact number of parameters to avoid explicit void params ("") to be used as BTS IP by an incorrect caller. Exit successfully if firmware analysis is requested and there's no BTS IP provided (meaning no BTS set up is required). Save BTS IP into bts_ip variable as using optind is tricky. Use new bts_ip variable to print the IP of the BTS we are trying to connect to. Change-Id: I8071aaf2be217207261ad698f87344f7ca15ccc4
Diffstat (limited to 'src/ipaccess/ipaccess-firmware.c')
0 files changed, 0 insertions, 0 deletions