Fix sequence type for $DHCP

This commit is contained in:
Frank Denis 2025-01-10 12:52:52 +01:00
parent 021a46b203
commit 5aa958e282

View file

@ -89,7 +89,7 @@ func (plugin *PluginForward) Init(proxy *Proxy) error {
if len(sequence) > 0 && sequence[len(sequence)-1].typ == DHCP {
// Ignore repetitions
} else {
sequence = append(sequence, SearchSequenceItem{typ: Bootstrap})
sequence = append(sequence, SearchSequenceItem{typ: DHCP})
dlog.Infof("Forwarding [%s] to the DHCP servers", domain)
}
requiresDHCP = true