diff options
author | Grégoire Delattre <gregoire.delattre@gmail.com> | 2017-06-20 11:45:49 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-06-20 22:33:41 +0200 |
commit | 680a5c5d3e4737d6d96fc1b34aba93d04d2390b3 (patch) | |
tree | 2ca5e80fa4dcb5853e22784d2abf627fbc847be2 /package/base-files | |
parent | e3d09e78980ee1954e536f9fccd2804f5f681973 (diff) | |
download | mtk-20170518-680a5c5d3e4737d6d96fc1b34aba93d04d2390b3.zip mtk-20170518-680a5c5d3e4737d6d96fc1b34aba93d04d2390b3.tar.gz mtk-20170518-680a5c5d3e4737d6d96fc1b34aba93d04d2390b3.tar.bz2 |
dnsmasq: add dhcp-range tags configuration
dnsmasq can match tags in its dhcp-range configuration, this commit adds
the option to configure it in the dhcp section
uci configuration:
config dhcp 'lan'
option interface 'lan'
list tag 'blue'
list tag '!red'
option start '10'
option limit '150'
option leasetime '12h'
generated dnsmasq configuration:
dhcp-range=tag:blue,tag:!red,set:lan,192.168.1.10,192.168.1.159,255.255.255.0,12h
Signed-off-by: Grégoire Delattre <gregoire.delattre@gmail.com>
Diffstat (limited to 'package/base-files')
0 files changed, 0 insertions, 0 deletions