Browse Source

nfqws,tpws : rename function

pull/1301/head
bol-van 3 weeks ago
parent
commit
08a6e8e069
  1. BIN
      nfq/WinDivert.dll
  2. BIN
      nfq/WinDivert64.sys
  3. 2
      nfq/helpers.c
  4. 2
      nfq/helpers.h
  5. 2
      nfq/nfqws.c
  6. 2
      tpws/helpers.c
  7. 2
      tpws/helpers.h
  8. 2
      tpws/tpws.c

BIN
nfq/WinDivert.dll

Binary file not shown.

BIN
nfq/WinDivert64.sys

Binary file not shown.

2
nfq/helpers.c

@ -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);

2
nfq/helpers.h

@ -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);

2
nfq/nfqws.c

@ -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__

2
tpws/helpers.c

@ -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);

2
tpws/helpers.h

@ -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

2
tpws/tpws.c

@ -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…
Cancel
Save