chore: Disable cache for RCode client

This commit is contained in:
H1JK
2023-06-11 20:58:51 +08:00
parent c7de0e0253
commit 54337ecdf3
3 changed files with 19 additions and 10 deletions

View File

@@ -59,7 +59,8 @@ func (d *dhcpClient) ExchangeContext(ctx context.Context, m *D.Msg) (msg *D.Msg,
return nil, err
}
return batchExchange(ctx, clients, m)
msg, _, err = batchExchange(ctx, clients, m)
return
}
func (d *dhcpClient) resolve(ctx context.Context) ([]dnsClient, error) {