1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 18:29:30 +03:00

[PATCH] Allow UCI interface names in /etc/config/dhcp

Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22487 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-08-04 17:09:31 +00:00
parent caec700c9a
commit 8b5fd9705c

View File

@ -42,11 +42,13 @@ append_server() {
}
append_interface() {
append args "-i $1"
local ifname=$(uci_get_state network "$1" ifname "$1")
append args "-i $ifname"
}
append_notinterface() {
append args "-I $1"
local ifname=$(uci_get_state network "$1" ifname "$1")
append args "-I $ifname"
}
append_addnhosts() {