X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fd00f35a4ffc6cbe3706abe5d92c28eb77829612..67ea4e32afe8765efbfd7d0459e865a44eb5d425:/package/base-files/files/lib/network/config.sh diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index d76c4bf96..7fa1d37e4 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -119,8 +119,8 @@ set_interface_ifname() { local ifname="$2" config_get device "$1" device - uci_set_state "network.$config.ifname=$ifname" - uci_set_state "network.$config.device=$device" + uci_set_state network "$config" ifname "$ifname" + uci_set_state network "$config" device "$device" } setup_interface() {