X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/e04c2d50fd96f3f31bc96851c55c6efecc10469c..dfc1ab4f3326bf8295ac8dca5c4821d57ef417e8:/server/tun-unet.c?ds=inline diff --git a/server/tun-unet.c b/server/tun-unet.c index 3274db1c..9a79dd85 100644 --- a/server/tun-unet.c +++ b/server/tun-unet.c @@ -127,7 +127,7 @@ static tunnel *t_create(peer *p, char **ifn) if (ioctl(t->f.fd, UNIOCGINFO, &uni)) { a_warn("TUN", "-", "unet", "getinfo-error", "?ERRNO", A_END); - return (""); + return (0); } *ifn = xstrdup(uni.uni_ifname); T( trace(T_TUNNEL, "tun-unet: attached interface %s to peer `%s'",