Use the new mLib macros for discarding uninteresting error codes.
[tripe] / server / tun-linux.c
index 10456e3..7b1fa1d 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));
   })
-  IGNORE(write(t->f.fd, BBASE(b), BLEN(b)));
+  DISCARD(write(t->f.fd, BBASE(b), BLEN(b)));
 }
 
 /* --- @t_destroy@ --- *