mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-16 18:11:53 +02:00
relayd: fix return code check for resolving network->ifname mapping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31712 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3c5d4ad5a3
commit
e19c65f7dd
@ -15,7 +15,6 @@ resolve_network() {
|
|||||||
config_get ifn "$1" ifname
|
config_get ifn "$1" ifname
|
||||||
[ -z "$ifn" ] && return 1
|
[ -z "$ifn" ] && return 1
|
||||||
resolve_ifname "$ifn"
|
resolve_ifname "$ifn"
|
||||||
return 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start_relay() {
|
start_relay() {
|
||||||
|
Loading…
Reference in New Issue
Block a user