Fix: crash on standalone services

This commit is contained in:
Vladimir Dubrovin committed 2026-05-04 12:03:02 +03:00
1 parent da8a8615f4
commit 5f06879843
1 file changed
+5 -5
+5 -5
View File
@@ -517,11 +517,6 @@ struct srvparam {
AUTHFUNC authfunc; AUTHFUNC authfunc;
PROXYFUNC pf; PROXYFUNC pf;
SOCKET srvsock, cbsock; SOCKET srvsock, cbsock;
#ifndef NOUDPMAIN
unsigned char udpbuf[UDPBUFSIZE];
unsigned char udpbuf2[UDPBUFSIZE];
int udplen;
#endif
int childcount; int childcount;
int maxchild; int maxchild;
int backlog; int backlog;
@@ -573,6 +568,11 @@ struct srvparam {
uint16_t targetport; uint16_t targetport;
unsigned char replace; unsigned char replace;
time_t time_start; time_t time_start;
#ifndef NOUDPMAIN
unsigned char udpbuf[UDPBUFSIZE];
unsigned char udpbuf2[UDPBUFSIZE];
int udplen;
#endif
}; };
struct clientparam { struct clientparam {