chiark / gitweb /
server: Repurpose the flags in `peerspec'.
[tripe] / server / tun-linux.c
index 2794ca8ccb11d063137ccbc7fa4d409c7350f8a4..10456e352c54c27050291b1ac898fa4c57c52b34 100644 (file)
@@ -129,7 +129,7 @@ static void t_inject(tunnel *t, buf *b)
     trace(T_TUNNEL, "tun-linux: inject decrypted packet");
     trace_block(T_PACKET, "tunnel: packet contents", BBASE(b), BLEN(b));
   })
-  write(t->f.fd, BBASE(b), BLEN(b));
+  IGNORE(write(t->f.fd, BBASE(b), BLEN(b)));
 }
 
 /* --- @t_destroy@ --- *