projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a30a0d
)
netifd: scan l3 devices on find_config()
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 19 Mar 2012 21:09:54 +0000
(21:09 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 19 Mar 2012 21:09:54 +0000
(21:09 +0000)
SVN-Revision: 31033
package/netifd/files/lib/network/config.sh
patch
|
blob
|
history
diff --git
a/package/netifd/files/lib/network/config.sh
b/package/netifd/files/lib/network/config.sh
index 8b91f96a6e85bfcfcce93822a1f54eee0b888c81..8fa9b1ac3dd6354e4f82b747b349ffc2e22ed16e 100755
(executable)
--- a/
package/netifd/files/lib/network/config.sh
+++ b/
package/netifd/files/lib/network/config.sh
@@
-10,7
+10,8
@@
find_config() {
(
json_load "$(ifstatus $interface)"
json_get_var ifdev device
- if [[ "$device" = "$ifdev" ]]; then
+ json_get_var ifl3dev l3_device
+ if [[ "$device" = "$ifdev" ]] || [[ "$device" = "$ifl3dev" ]]; then
echo "$interface"
exit 0
else