diff options
author | Kuang Rufan <kuangrufan@pset.suntec.net> | 2017-08-25 14:10:21 +0800 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-08-25 14:28:49 +0200 |
commit | 1e6e37c4f69d39d1cb2b988c7f6fd7e2227d2dbe (patch) | |
tree | f08f7764ff7d6ef0fc777f9997e4b977511b1b61 /target/linux | |
parent | cdb494fdc2d3399e698893ff0cfd06d3c802364f (diff) | |
download | upstream-1e6e37c4f69d39d1cb2b988c7f6fd7e2227d2dbe.tar.gz upstream-1e6e37c4f69d39d1cb2b988c7f6fd7e2227d2dbe.tar.bz2 upstream-1e6e37c4f69d39d1cb2b988c7f6fd7e2227d2dbe.zip |
dnsmasq: add support for multiple tags for each host.
Currently, dnsmasq support assigning multiple tags to a host record
(--dhcp-host), but we only support only 1 tag for a host. The commit
makes the following config to be valid:
config host
option name 'computer'
option mac '00:11:22:33:44:55'
option ip '192.168.1.100'
list tag 'vendor_class'
list tag 'vendor_id'
config tag 'vendor_class'
list dhcp_option 'option:vendor-class,00:...<omitted>'
config tag 'vendor_id'
option force '1'
list dhcp_option 'option:vendor-id-encap,00:...<omitted>'
Signed-off-by: Kuang Rufan <kuangrufan@pset.suntec.net>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'target/linux')
0 files changed, 0 insertions, 0 deletions