X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/808702d218ba5999dbc8cef769a79d1fb9be1e63..3cdc3f3a27e8c4f4fe692009d868c773d298a68c:/tun-bsd.c diff --git a/tun-bsd.c b/tun-bsd.c index c9b8f7f0..620ea987 100644 --- a/tun-bsd.c +++ b/tun-bsd.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: tun-bsd.c,v 1.3 2004/04/08 01:36:17 mdw Exp $ + * $Id$ * * Tunnel interface for 4.4BSD-derived systems * @@ -55,7 +55,7 @@ void t_read(int fd, unsigned mode, void *v) n = read(fd, buf_i, sizeof(buf_i)); if (n < 0) { - a_warn("tunnel read failed (%s): %s", tun_ifname(t), strerror(errno)); + a_warn("TUN %s read-error -- %s", tun_ifname(t), strerror(errno)); return; } IF_TRACING(T_TUNNEL, { @@ -107,10 +107,10 @@ int tun_create(tunnel *t, peer *p) T( trace(T_TUNNEL, "tunnel device %u busy: skipping", n); ) break; case ENOENT: - a_warn("no suitable tunnel devices found"); + a_warn("TUN - bsd no-tunnel-devices"); return (-1); default: - a_warn("error opening `%s': %s (skipping)", buf, strerror(errno)); + a_warn("TUN - open-error %s -- %s", buf, strerror(errno)); break; } n++;