Skip to content
Snippets Groups Projects
Commit 97b10e38 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

Allow UCI interface names in /etc/config/dhcp Signed-off-by: Gabriel Kerneis...

Allow UCI interface names in /etc/config/dhcp Signed-off-by: default avatarGabriel Kerneis <kerneis@pps.jussieu.fr>

SVN-Revision: 22487
parent 1980190a
No related branches found
No related tags found
No related merge requests found
...@@ -42,11 +42,13 @@ append_server() { ...@@ -42,11 +42,13 @@ append_server() {
} }
append_interface() { append_interface() {
append args "-i $1" local ifname=$(uci_get_state network "$1" ifname "$1")
append args "-i $ifname"
} }
append_notinterface() { append_notinterface() {
append args "-I $1" local ifname=$(uci_get_state network "$1" ifname "$1")
append args "-I $ifname"
} }
append_addnhosts() { append_addnhosts() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment