chiark / gitweb /
server/{keyexch.c,keyset.c}: Move timing parameters to tripe.h.
[tripe] / server / tun-bsd.c
index b945c7dd92ecfd57afdf2c8a42d6436047c667e5..2c872997f7a79e82ea70b522f24814060f86f1e8 100644 (file)
@@ -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@ --- *