aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/shibari-server-udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/shibari-server-udp.c')
-rw-r--r--src/server/shibari-server-udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/shibari-server-udp.c b/src/server/shibari-server-udp.c
index 0a723ea..62472a7 100644
--- a/src/server/shibari-server-udp.c
+++ b/src/server/shibari-server-udp.c
@@ -237,7 +237,7 @@ int main (int argc, char const *const *argv)
pkt.hdr.rcode = rcode ;
shibari_packet_end(&pkt) ;
}
- shibari_log_answer(verbosity, &pkt.hdr, pkt.pos) ;
+ if (rcode != 1 && rcode != 4) shibari_log_answer(verbosity, &pkt.hdr, pkt.pos) ;
tain_add_g(&wstamp, &wtto) ;
if (socket_sendnb46_g(x[1].fd, buf, pkt.pos, &remoteip, remoteport, &wstamp) < pkt.pos && verbosity)
strerr_warnwu1sys("send answer") ;