mirror of
https://github.com/bol-van/zapret.git
synced 2025-03-14 20:31:37 +03:00
nfqws,tpws : rename function
This commit is contained in:
parent
644a934099
commit
08a6e8e069
BIN
nfq/WinDivert.dll
Normal file
BIN
nfq/WinDivert.dll
Normal file
Binary file not shown.
BIN
nfq/WinDivert64.sys
Normal file
BIN
nfq/WinDivert64.sys
Normal file
Binary file not shown.
@ -391,7 +391,7 @@ void fill_random_az09(uint8_t *p,size_t sz)
|
||||
}
|
||||
}
|
||||
|
||||
void disable_console_io_buffering(void)
|
||||
void set_console_io_buffering(void)
|
||||
{
|
||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||
setvbuf(stderr, NULL, _IOLBF, 0);
|
||||
|
@ -92,7 +92,7 @@ void fill_random_bytes(uint8_t *p,size_t sz);
|
||||
void fill_random_az(uint8_t *p,size_t sz);
|
||||
void fill_random_az09(uint8_t *p,size_t sz);
|
||||
|
||||
void disable_console_io_buffering(void);
|
||||
void set_console_io_buffering(void);
|
||||
bool set_env_exedir(const char *argv0);
|
||||
|
||||
|
||||
|
@ -1414,7 +1414,7 @@ void check_dp(const struct desync_profile *dp)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
disable_console_io_buffering();
|
||||
set_console_io_buffering();
|
||||
set_env_exedir(argv[0]);
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
|
@ -383,7 +383,7 @@ bool pf_is_empty(const port_filter *pf)
|
||||
return !pf->neg && !pf->from && !pf->to;
|
||||
}
|
||||
|
||||
void disable_console_io_buffering(void)
|
||||
void set_console_io_buffering(void)
|
||||
{
|
||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||
setvbuf(stderr, NULL, _IOLBF, 0);
|
||||
|
@ -82,7 +82,7 @@ bool pf_in_range(uint16_t port, const port_filter *pf);
|
||||
bool pf_parse(const char *s, port_filter *pf);
|
||||
bool pf_is_empty(const port_filter *pf);
|
||||
|
||||
void disable_console_io_buffering(void);
|
||||
void set_console_io_buffering(void);
|
||||
bool set_env_exedir(const char *argv0);
|
||||
|
||||
#ifndef IN_LOOPBACK
|
||||
|
@ -1707,7 +1707,7 @@ int main(int argc, char *argv[])
|
||||
struct salisten_s list[MAX_BINDS];
|
||||
char ip_port[48];
|
||||
|
||||
disable_console_io_buffering();
|
||||
set_console_io_buffering();
|
||||
set_env_exedir(argv[0]);
|
||||
srand(time(NULL));
|
||||
mask_from_preflen6_prepare();
|
||||
|
Loading…
x
Reference in New Issue
Block a user