mirror of
https://github.com/openwrt/packages.git
synced 2026-07-15 06:12:04 +04:00
mwan3: add log message if l3 interface is not up
Add log message. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
committed by
Florian Eckert
parent
774c01bcba
commit
583036ad17
@@ -1055,6 +1055,8 @@ mwan3_ifup()
|
||||
}
|
||||
|
||||
if [ "$up" != "1" ] || [ -z "$l3_device" ]; then
|
||||
echo "The network interace '${interface}' is not up."
|
||||
echo "Please execute 'ifup ${interface}' first."
|
||||
return
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user