X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/3fe0fc3a60fc3f29ee40b8474192a585a5eeaaa0..01c2190311b3eab8e861014d57ddca6160998e69:/server/tun-unet.c diff --git a/server/tun-unet.c b/server/tun-unet.c index 719830bf..19dc5e60 100644 --- a/server/tun-unet.c +++ b/server/tun-unet.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-unet: inject decrypted packet"); trace_block(T_PACKET, "tun-unet: 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@ --- *