summaryrefslogtreecommitdiff
path: root/osdep
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2019-07-22 14:12:21 -0700
committerJoseph Henry <josephjah@gmail.com>2019-07-22 14:12:21 -0700
commit9cf74657e0f2af93cc7ff051895afd2ea7d4a5d6 (patch)
tree82dec1c2efdaccbd34807bd5181658fad7fdb4e5 /osdep
parent5edd04638d0bea58a619969cbb19bac2abb3f98e (diff)
downloadinfinitytier-9cf74657e0f2af93cc7ff051895afd2ea7d4a5d6.tar.gz
infinitytier-9cf74657e0f2af93cc7ff051895afd2ea7d4a5d6.zip
Commented out rtnetlink error debug trace
Diffstat (limited to 'osdep')
-rw-r--r--osdep/LinuxNetLink.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/osdep/LinuxNetLink.cpp b/osdep/LinuxNetLink.cpp
index 6bebfe2e..da75ccdf 100644
--- a/osdep/LinuxNetLink.cpp
+++ b/osdep/LinuxNetLink.cpp
@@ -124,9 +124,9 @@ int LinuxNetLink::_doRecv(int fd)
if(nlp->nlmsg_type == NLMSG_ERROR && (nlp->nlmsg_flags & NLM_F_ACK) != NLM_F_ACK) {
struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(nlp);
if (err->error != 0) {
-//#ifdef ZT_TRACE
- fprintf(stderr, "rtnetlink error: %s\n", strerror(-(err->error)));
-//#endif
+#ifdef ZT_TRACE
+ //fprintf(stderr, "rtnetlink error: %s\n", strerror(-(err->error)));
+#endif
}
p = buf;
nll = 0;