* Mentionned the VERBOSE variable in fwknopd.conf.
* Made sure the -v command line switch overrides the value of the VERBOSE variable set in an fwknopd.conf file.
This commit is contained in:
parent
4525a7e57c
commit
5413d1c48c
@ -685,11 +685,6 @@ config_init(fko_srv_options_t *opts, int argc, char **argv)
|
||||
clean_exit(opts, NO_FW_CLEANUP, EXIT_SUCCESS);
|
||||
break;
|
||||
|
||||
/* Verbosity level */
|
||||
case 'v':
|
||||
opts->verbose++;
|
||||
break;
|
||||
|
||||
/* Look for configuration file arg.
|
||||
*/
|
||||
case 'c':
|
||||
@ -871,8 +866,9 @@ config_init(fko_srv_options_t *opts, int argc, char **argv)
|
||||
case 'S':
|
||||
opts->status = 1;
|
||||
break;
|
||||
/* Verbosity level - handled previously */
|
||||
/* Verbosity level */
|
||||
case 'v':
|
||||
opts->verbose++;
|
||||
break;
|
||||
case 'V':
|
||||
fprintf(stdout, "fwknopd server %s\n", MY_VERSION);
|
||||
|
||||
@ -26,6 +26,13 @@
|
||||
##############################################################################
|
||||
#
|
||||
|
||||
#
|
||||
# Define the default verbosity level the fwknop server should use.
|
||||
# A value of "0" is the default verbosity level. Setting it up to "1" or
|
||||
# higher will allow debugging messges be displayed.
|
||||
#
|
||||
#VERBOSE 0;
|
||||
|
||||
# Define the ethernet interface on which we will sniff packets.
|
||||
# Default if not set is eth0. The '-i <intf>' command line option overrides
|
||||
# the PCAP_INTF setting.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user