server/tun-*.c: Include tunnel name in read-error warnings.
[tripe] / server / tun-slip.c
index 264d1d4..609829f 100644 (file)
@@ -93,7 +93,8 @@ static void t_read(int fd, unsigned mode, void *v)
 #endif
        errno == EAGAIN)
       return;
-    a_warn("TUN", "%s", p_ifname(t->p), "read-error", "?ERRNO", A_END);
+    a_warn("TUN", "%s", p_ifname(t->p), "slip",
+          "read-error", "?ERRNO", A_END);
     return;
   }
   if (!n) {