initial cfg change for flags incpkt_flag and incbdl_flag

master
Alexey Khromov 2 months ago
parent 2827504df4
commit ae156c4689

@ -67,8 +67,9 @@ void deinit_cval_entry(s_cval_entry *dest, bforce_config_keyword type)
deinit_translate(&dest->d.translate); deinit_translate(&dest->d.translate);
break; break;
default: default:
DEB((D_CONFIG, "deinit_cval_entry: type %d doesn't use dynamic memory", //DEB((D_CONFIG, "deinit_cval_entry: type %d doesn't use dynamic memory",
type)); // type));
;
} }
} }

@ -96,6 +96,8 @@ s_conf_entry bforce_config[BFORCE_NUMBER_OF_KEYWORDS+1] = {
CONF_KEY(freq_limit_time, CT_NUMBER), CONF_KEY(freq_limit_time, CT_NUMBER),
CONF_KEY(freq_min_speed, CT_NUMBER), CONF_KEY(freq_min_speed, CT_NUMBER),
CONF_KEY(freq_srif_command, CT_STRING), CONF_KEY(freq_srif_command, CT_STRING),
CONF_KEY(incpkt_flag, CT_STRING),
CONF_KEY(incbdl_flag, CT_STRING),
CONF_KEY(hide_our_aka, CT_ADDRESS), CONF_KEY(hide_our_aka, CT_ADDRESS),
CONF_KEY(history_file, CT_STRING), CONF_KEY(history_file, CT_STRING),
CONF_KEY(hydra_options, CT_OPTIONS), CONF_KEY(hydra_options, CT_OPTIONS),

File diff suppressed because it is too large Load Diff

@ -44,7 +44,8 @@
%token AROP %token AROP
%token LOGOP %token LOGOP
%expect 2 /* %expect 2 */
%{ %{
#include "includes.h" #include "includes.h"
#include "confread.h" #include "confread.h"

8
source/configure vendored

@ -580,10 +580,10 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='bforce' PACKAGE_NAME='bforce'
PACKAGE_TARNAME='bforce' PACKAGE_TARNAME='bforce'
PACKAGE_VERSION='0.24' PACKAGE_VERSION='0.24.1'
PACKAGE_STRING='bforce 0.24' PACKAGE_STRING='bforce 0.24.1'
PACKAGE_BUGREPORT='sergey@fidoman.ru' PACKAGE_BUGREPORT='zx@zxalexis.ru'
PACKAGE_URL='' PACKAGE_URL='https://prj.zxalexis.ru/gitea/zx/bforce.git'
ac_default_prefix=/usr/local/fido ac_default_prefix=/usr/local/fido
# Factoring default headers for most tests. # Factoring default headers for most tests.

@ -3,7 +3,7 @@ dnl
dnl $Id$ dnl $Id$
dnl dnl
#AC_INIT(bforce/bforce.c) #AC_INIT(bforce/bforce.c)
AC_INIT([bforce],[0.24.1],[sergey@fidoman.ru]) AC_INIT([bforce],[0.24.1],[zx@zxalexis.ru])
AC_CONFIG_HEADER(include/config.h) AC_CONFIG_HEADER(include/config.h)
AC_CANONICAL_SYSTEM AC_CANONICAL_SYSTEM
dnl # Minimum Autoconf version required. dnl # Minimum Autoconf version required.
@ -143,4 +143,4 @@ AC_CHECK_FUNCS(rename statfs statvfs setproctitle)
AC_CHECK_FUNCS([clock_gettime], [CLOCK_LIB=],[AC_CHECK_LIB([rt], [clock_gettime], [CLOCK_LIB=-lrt])]) AC_CHECK_FUNCS([clock_gettime], [CLOCK_LIB=],[AC_CHECK_LIB([rt], [clock_gettime], [CLOCK_LIB=-lrt])])
AC_SUBST([CLOCK_LIB]) AC_SUBST([CLOCK_LIB])
AC_OUTPUT(Makefile) AC_OUTPUT(Makefile)
AC_OUTPUT(../debian/Makefile) dnl AC_OUTPUT(../debian/Makefile)

@ -191,6 +191,8 @@ typedef enum {
cf_freq_limit_time, cf_freq_limit_time,
cf_freq_min_speed, cf_freq_min_speed,
cf_freq_srif_command, cf_freq_srif_command,
cf_incpkt_flag,
cf_incbdl_flag,
cf_hide_our_aka, cf_hide_our_aka,
cf_history_file, cf_history_file,
cf_hydra_options, cf_hydra_options,

Loading…
Cancel
Save