From ef2f8d70d22b817e1faf96efd42c61879e25c723 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Fri, 24 Sep 2021 14:57:38 +0300 Subject: [PATCH] manpage: clarify tags: semantics for --dhcp-host Mention that several tags can be specified and instruct the user that some other match must still be provided for the directive to have any effect. --- man/dnsmasq.8 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index f04ae13..a71610c 100644 --- a/man/dnsmasq.8 +++ b/man/dnsmasq.8 @@ -1037,7 +1037,7 @@ is also included, as described in RFC-3775 section 7.3. tells dnsmasq to advertise the prefix without the on-link (aka L) bit set. .TP -.B \-G, --dhcp-host=[][,id:|*][,set:][tag:][,][,][,][,ignore] +.B \-G, --dhcp-host=[][,id:|*][,set:][,tag:][,][,][,][,ignore] Specify per host parameters for the DHCP server. This allows a machine with a particular hardware address to be always allocated the same hostname, IP address and lease time. A hostname specified like this @@ -1136,7 +1136,10 @@ ignore requests from unknown machines using If the host matches only a \fB--dhcp-host\fP directive which cannot be used because it specifies an address on different subnet, the tag "known-othernet" is set. -The tag: construct filters which dhcp-host directives are used. Tagged directives are used in preference to untagged ones. +The tag: construct filters which dhcp-host directives are used; more than +one can be provided, in this case the request must match all of them. Tagged +directives are used in preference to untagged ones. Note that one of , + or still needs to be specified (can be a wildcard). Ethernet addresses (but not client-ids) may have wildcard bytes, so for example -- 2.20.1