chiark
/
gitweb
/
~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e04c2d5
)
server/tun-unet: Fix stupidity in t_create.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 5 Jul 2007 10:02:00 +0000
(11:02 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 5 Jul 2007 10:02:00 +0000
(11:02 +0100)
Obviously I never watched this build carefully enough.
server/tun-unet.c
patch
|
blob
|
blame
|
history
diff --git
a/server/tun-unet.c
b/server/tun-unet.c
index 3274db1c3d07cdd3c03814568541b57008d4cc38..9a79dd858c365cdcbc47c6096ab73d6334ad54e4 100644
(file)
--- 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 (
"<error>"
);
+ return (
0
);
}
*ifn = xstrdup(uni.uni_ifname);
T( trace(T_TUNNEL, "tun-unet: attached interface %s to peer `%s'",