mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 02:14:40 +01:00
Fix sequence type for $DHCP
This commit is contained in:
parent
021a46b203
commit
5aa958e282
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ func (plugin *PluginForward) Init(proxy *Proxy) error {
|
||||||
if len(sequence) > 0 && sequence[len(sequence)-1].typ == DHCP {
|
if len(sequence) > 0 && sequence[len(sequence)-1].typ == DHCP {
|
||||||
// Ignore repetitions
|
// Ignore repetitions
|
||||||
} else {
|
} else {
|
||||||
sequence = append(sequence, SearchSequenceItem{typ: Bootstrap})
|
sequence = append(sequence, SearchSequenceItem{typ: DHCP})
|
||||||
dlog.Infof("Forwarding [%s] to the DHCP servers", domain)
|
dlog.Infof("Forwarding [%s] to the DHCP servers", domain)
|
||||||
}
|
}
|
||||||
requiresDHCP = true
|
requiresDHCP = true
|
||||||
|
|
Loading…
Add table
Reference in a new issue