chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
server/tun-*.c: Include tunnel name in read-error warnings.
[tripe]
/
server
/
tun-unet.c
diff --git
a/server/tun-unet.c
b/server/tun-unet.c
index d4b4cf3478a847e26d6897cd15c6e8ddc02cbcba..11f9b67bc3baccab388c6f70b97efe2e1c6b65c9 100644
(file)
--- a/
server/tun-unet.c
+++ b/
server/tun-unet.c
@@
-65,7
+65,8
@@
static void t_read(int fd, unsigned mode, void *v)
n = read(fd, buf_i, sizeof(buf_i));
if (n < 0) {
- a_warn("TUN", "%s", p_ifname(t->p), "read-error", "?ERRNO", A_END);
+ a_warn("TUN", "%s", p_ifname(t->p), "unet",
+ "read-error", "?ERRNO", A_END);
return;
}
IF_TRACING(T_TUNNEL, {