~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
d4b4cf3
..
11f9b67
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, {