mirror of
https://github.com/3proxy/3proxy.git
synced 2026-05-13 13:30:12 +08:00
Fix: crash on standalone services
This commit is contained in:
parent
da8a8615f4
commit
5f06879843
@ -517,11 +517,6 @@ struct srvparam {
|
||||
AUTHFUNC authfunc;
|
||||
PROXYFUNC pf;
|
||||
SOCKET srvsock, cbsock;
|
||||
#ifndef NOUDPMAIN
|
||||
unsigned char udpbuf[UDPBUFSIZE];
|
||||
unsigned char udpbuf2[UDPBUFSIZE];
|
||||
int udplen;
|
||||
#endif
|
||||
int childcount;
|
||||
int maxchild;
|
||||
int backlog;
|
||||
@ -573,6 +568,11 @@ struct srvparam {
|
||||
uint16_t targetport;
|
||||
unsigned char replace;
|
||||
time_t time_start;
|
||||
#ifndef NOUDPMAIN
|
||||
unsigned char udpbuf[UDPBUFSIZE];
|
||||
unsigned char udpbuf2[UDPBUFSIZE];
|
||||
int udplen;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct clientparam {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user