diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-15 11:54:59 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-03-15 11:54:59 +0100 |
commit | 41a40733dc80946841c9241ec56a4670a5943709 (patch) | |
tree | e66cb0e1e7e8d6e97e0106b14d1e97638e48319a /tunnel.c | |
parent | 395199fcd4a1dbf8f52f13ec3e19ff568958e8e7 (diff) |
remove some leftover debug code
Diffstat (limited to 'tunnel.c')
-rw-r--r-- | tunnel.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |