chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
server/{admin,peer}.c: Fix build failures when tracing is disabled.
[tripe]
/
server
/
tun-bsd.c
diff --git
a/server/tun-bsd.c
b/server/tun-bsd.c
index 6773ee64032dbef020eafe146830e7665e5653cc..219b9934733a5ef56075f5123c2b46ac79a7c816 100644
(file)
--- a/
server/tun-bsd.c
+++ b/
server/tun-bsd.c
@@
-123,7
+123,7
@@
static void t_inject(tunnel *t, buf *b)
trace(T_TUNNEL, "tun-bsd: inject decrypted packet");
trace_block(T_PACKET, "tun-bsd: packet contents", BBASE(b), BLEN(b));
})
-
write(t->f.fd, BBASE(b), BLEN(b
));
+
DISCARD(write(t->f.fd, BBASE(b), BLEN(b)
));
}
/* --- @t_destroy@ --- *