ndb/dns: use same buffer size of udp packet in redistrib() as dnudpserver() (fixes assert)
This commit is contained in:
parent
cc3abe39aa
commit
f92057cc39
1 changed files with 1 additions and 1 deletions
|
@ -102,9 +102,9 @@ addforwtarg(char *host)
|
|||
static void
|
||||
redistrib(uchar *buf, int len)
|
||||
{
|
||||
static uchar outpkt[Udphdrsize + Maxudp + 1024];
|
||||
Forwtarg *tp;
|
||||
Udphdr *uh;
|
||||
static uchar outpkt[1500];
|
||||
|
||||
assert(len <= sizeof outpkt);
|
||||
memmove(outpkt, buf, len);
|
||||
|
|
Loading…
Reference in a new issue