projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1980190
)
Allow UCI interface names in /etc/config/dhcp Signed-off-by: Gabriel Kerneis <kerneis...
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 4 Aug 2010 17:09:31 +0000
(17:09 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 4 Aug 2010 17:09:31 +0000
(17:09 +0000)
SVN-Revision: 22487
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index e2f35e8aad0aff4e33fbd1c624b36dfe7cce647b..c69f0d2d08774e735299beeb130c6c22d1f420df 100644
(file)
--- a/
package/dnsmasq/files/dnsmasq.init
+++ b/
package/dnsmasq/files/dnsmasq.init
@@
-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() {