projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
395199f
)
remove some leftover debug code
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 15 Mar 2012 10:54:59 +0000
(11:54 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 15 Mar 2012 10:54:59 +0000
(11:54 +0100)
tunnel.c
patch
|
blob
|
history
diff --git
a/tunnel.c
b/tunnel.c
index e756973d099012c42783dd38f26f5f101ac29465..b6e902a1fdaacd53ef536611a95465abcf1d97d2 100644
(file)
--- a/
tunnel.c
+++ b/
tunnel.c
@@
-17,10
+17,8
@@
tunnel_set_state(struct device *dev, bool up)
if (up) {
ret = system_add_ip_tunnel(dev->ifname, tun->config);
- if (ret != 0) {
- perror("add_ip_tunnel");
+ if (ret != 0)
return ret;
- }
}
ret = tun->set_state(dev, up);