mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Merge branch 'dev' of http://git.int.zerotier.com/zerotier/ZeroTierOne into dev
This commit is contained in:
commit
99df3fe433
1 changed files with 3 additions and 3 deletions
|
@ -124,9 +124,9 @@ int LinuxNetLink::_doRecv(int fd)
|
||||||
if(nlp->nlmsg_type == NLMSG_ERROR && (nlp->nlmsg_flags & NLM_F_ACK) != NLM_F_ACK) {
|
if(nlp->nlmsg_type == NLMSG_ERROR && (nlp->nlmsg_flags & NLM_F_ACK) != NLM_F_ACK) {
|
||||||
struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(nlp);
|
struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(nlp);
|
||||||
if (err->error != 0) {
|
if (err->error != 0) {
|
||||||
//#ifdef ZT_TRACE
|
#ifdef ZT_TRACE
|
||||||
fprintf(stderr, "rtnetlink error: %s\n", strerror(-(err->error)));
|
//fprintf(stderr, "rtnetlink error: %s\n", strerror(-(err->error)));
|
||||||
//#endif
|
#endif
|
||||||
}
|
}
|
||||||
p = buf;
|
p = buf;
|
||||||
nll = 0;
|
nll = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue