mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Simple change in UDP message sending to shutup Valgrind
This commit is contained in:
parent
42132be5a8
commit
6768bc568b
@ -1557,8 +1557,8 @@ static inline int
|
||||
sk_sendmsg(sock *s)
|
||||
{
|
||||
struct iovec iov = {s->tbuf, s->tpos - s->tbuf};
|
||||
byte cmsg_buf[CMSG_TX_SPACE];
|
||||
sockaddr dst;
|
||||
static _Thread_local byte cmsg_buf[CMSG_TX_SPACE] = {};
|
||||
static _Thread_local sockaddr dst = {};
|
||||
int flags = 0;
|
||||
|
||||
sockaddr_fill(&dst, s->af, s->daddr, s->iface, s->dport);
|
||||
|
Loading…
Reference in New Issue
Block a user