mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 18:33:16 +00:00
allow sigtool use a different flevel for db building purposes
This commit is contained in:
parent
8f5bb092f8
commit
fc8d26a187
2 changed files with 3 additions and 1 deletions
|
@ -55,6 +55,7 @@
|
||||||
|
|
||||||
#define CL_FLEVEL 50
|
#define CL_FLEVEL 50
|
||||||
#define CL_FLEVEL_DCONF CL_FLEVEL
|
#define CL_FLEVEL_DCONF CL_FLEVEL
|
||||||
|
#define CL_FLEVEL_SIGTOOL CL_FLEVEL
|
||||||
|
|
||||||
extern uint8_t cli_debug_flag;
|
extern uint8_t cli_debug_flag;
|
||||||
|
|
||||||
|
|
|
@ -67,6 +67,7 @@
|
||||||
#include "libclamav/default.h"
|
#include "libclamav/default.h"
|
||||||
#include "libclamav/fmap.h"
|
#include "libclamav/fmap.h"
|
||||||
#include "libclamav/readdb.h"
|
#include "libclamav/readdb.h"
|
||||||
|
#include "libclamav/others.h"
|
||||||
|
|
||||||
#define MAX_DEL_LOOKAHEAD 200
|
#define MAX_DEL_LOOKAHEAD 200
|
||||||
|
|
||||||
|
@ -795,7 +796,7 @@ static int build(const struct optstruct *opts)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fl = cl_retflevel();
|
fl = CL_FLEVEL_SIGTOOL;
|
||||||
}
|
}
|
||||||
sprintf(header + strlen(header), "%u:", fl);
|
sprintf(header + strlen(header), "%u:", fl);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue