X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/3fe0fc3a60fc3f29ee40b8474192a585a5eeaaa0..fe2a5dcf9de1f124ed3cfa2c6327860bd5aca820:/server/tun-bsd.c diff --git a/server/tun-bsd.c b/server/tun-bsd.c index b945c7dd..2c872997 100644 --- a/server/tun-bsd.c +++ b/server/tun-bsd.c @@ -119,13 +119,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-bsd: inject decrypted packet"); trace_block(T_PACKET, "tun-bsd: 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@ --- *