mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-31 07:09:48 +07:00
feat: support must_xxx outbounds
This commit is contained in:
@ -757,10 +757,6 @@ func (c *ControlPlane) chooseBestDnsDialer(
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// Already "must direct".
|
||||
if outboundIndex == consts.OutboundMustDirect {
|
||||
outboundIndex = consts.OutboundDirect
|
||||
}
|
||||
if int(outboundIndex) >= len(c.outbounds) {
|
||||
return nil, fmt.Errorf("bad outbound index: %v", outboundIndex)
|
||||
}
|
||||
|
Reference in New Issue
Block a user