dnsmasq: add match_tag for --dhcp-host
authorPaul Fertser <fercerpav@gmail.com>
Thu, 23 Sep 2021 07:28:45 +0000 (10:28 +0300)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Tue, 9 Nov 2021 16:45:38 +0000 (16:45 +0000)
commit8a6b1a8d29cbd62f005ba20998ca9c8048ff49fc
tree60d1fc5e1f0906b94c259d02b68a1f7977fa8e38
parenta667f6b8dd4b0f47d9c0aacb900f1fd3045ec945
dnsmasq: add match_tag for --dhcp-host

A set of tags can be specified for --dhcp-host option to restrict the
assignment to the requests which match all the tags.

Example usage:

config vendorclass
        option networkid 'udhcp'
        option vendorclass 'udhcp'

config host
        option mac '*:*:*:*:*:*'
        list match_tag 'switch.10'
        list match_tag 'udhcp'
        option ip '192.168.25.10'

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
package/network/services/dnsmasq/files/dnsmasq.init [changed mode: 0644->0755]