X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/3fe0fc3a60fc3f29ee40b8474192a585a5eeaaa0..1b9a78583fbff3967b91e128dd7f57fcbcdc8db9:/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@ --- *