feat: support subscription tag and subtag filter (#13)

This commit is contained in:
mzz
2023-02-10 11:04:16 +08:00
committed by GitHub
parent 636b749776
commit c54a5a0c30
9 changed files with 89 additions and 37 deletions

View File

@ -179,7 +179,7 @@ func (c *ControlPlane) handlePkt(data []byte, src, dst netip.AddrPort, outboundI
// For DNS request, modify dst to dns upstream.
// NOTICE: We might modify l4proto and ipversion.
dnsUpstream, err := c.dnsUpstream.Upstream()
dnsUpstream, err := c.dnsUpstream.GetUpstream()
if err != nil {
return err
}