[olsr-dev] BUG command line parsing "olsr -d" --> segfault
Jan-Willem Smaal
(spam-protected)
Fri May 13 11:12:12 CEST 2005
The command-line parsing in OLSRD is not quite 'fool proof'.
----------------------------------------
[(spam-protected) olsrd-current]# ./olsrd -d
*** olsr.org - 0.4.10-pre ***
Build date: May 11 2005
http://www.olsr.org
Parsing file: "/etc/olsrd.conf"
Segmentation fault
----------------------------------------
Not a nice way to exit ;-).
Use of 'getopt()' and/or proper checking of presence of command-line
arguments maybe usefull in:
function:
olsr_process_arguments() in 'src/main.c'
J-W,
--
J-W Smaal <(spam-protected)>
More information about the Olsr-dev
mailing list