nfqws,tpws: set EXEDIR env var to use in @config

This commit is contained in:
bol-van
2024-11-14 10:57:02 +03:00
parent 4d47749e7c
commit ce33a27c57
6 changed files with 23 additions and 3 deletions

View File

@@ -1447,6 +1447,7 @@ int main(int argc, char *argv[])
struct salisten_s list[MAX_BINDS];
char ip_port[48];
set_env_exedir(argv[0]);
srand(time(NULL));
mask_from_preflen6_prepare();