mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[backfire] merge r23211
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23212 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -41,8 +41,8 @@ setup_interface () {
|
||||
# Default Route
|
||||
[ -n "$ifc" ] && {
|
||||
change_state network "$ifc" lease_gateway "$router"
|
||||
config_get old_router "$ifc" gateway
|
||||
user_router=$(uci_get "network.$ifc.gateway")
|
||||
old_router="$(uci_get_state network "$ifc" gateway)"
|
||||
user_router="$(uci_get network "$ifc" gateway)"
|
||||
[ -n "$user_router" ] && router="$user_router"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user