Skip to content

Commit

Permalink
Fix sequence type for $DHCP
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 10, 2025
1 parent 021a46b commit 5aa958e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnscrypt-proxy/plugin_forward.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5aa958e

Please sign in to comment.