X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/e533c005b62f3e1016b5fb9a3b6973124480a54b..23df0e5b6d5dfe65beaf6fee394746bfbf574035:/server/tun-linux.c diff --git a/server/tun-linux.c b/server/tun-linux.c index 33451746..10456e35 100644 --- a/server/tun-linux.c +++ b/server/tun-linux.c @@ -125,13 +125,11 @@ static tunnel *t_create(peer *p, int fd, char **ifn) static void t_inject(tunnel *t, buf *b) { - int hunoz; - IF_TRACING(T_TUNNEL, { trace(T_TUNNEL, "tun-linux: inject decrypted packet"); trace_block(T_PACKET, "tunnel: packet contents", BBASE(b), BLEN(b)); }) - hunoz = write(t->f.fd, BBASE(b), BLEN(b)); + IGNORE(write(t->f.fd, BBASE(b), BLEN(b))); } /* --- @t_destroy@ --- *