summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-14 14:08:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-14 14:08:43 +0000
commitcd1760ee412decf0523e72e2a1e878f02359680f (patch)
treedcc67e195722ddc7b0ab323f2a577442e94c5749 /package
parentfab5ee9566b9d423a533b5ce4870692b0bfe805a (diff)
downloadmtk-20170518-cd1760ee412decf0523e72e2a1e878f02359680f.zip
mtk-20170518-cd1760ee412decf0523e72e2a1e878f02359680f.tar.gz
mtk-20170518-cd1760ee412decf0523e72e2a1e878f02359680f.tar.bz2
relayd: fix return code check for resolving network->ifname mapping
SVN-Revision: 31712
Diffstat (limited to 'package')
-rw-r--r--package/relayd/files/relay.init1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/relayd/files/relay.init b/package/relayd/files/relay.init
index 307fbf2..43ba6e1 100644
--- a/package/relayd/files/relay.init
+++ b/package/relayd/files/relay.init
@@ -15,7 +15,6 @@ resolve_network() {
config_get ifn "$1" ifname
[ -z "$ifn" ] && return 1
resolve_ifname "$ifn"
- return 0
}
start_relay() {