diff options
| author | MDK <[email protected]> | 2024-02-21 22:16:52 +0800 |
|---|---|---|
| committer | MDK <[email protected]> | 2024-02-21 22:16:52 +0800 |
| commit | 2192e9bc86972a06ea401e51ca041491fac89877 (patch) | |
| tree | 17e5e79e9dd4f5f246f12e004b9d3851c7267e83 /fpdns_server.go | |
| parent | 0ec9df9786a46f97501452fcc3b0eb0ac3fb0b7c (diff) | |
Diffstat (limited to 'fpdns_server.go')
| -rw-r--r-- | fpdns_server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdns_server.go b/fpdns_server.go index 5b2f9af..e2a57a4 100644 --- a/fpdns_server.go +++ b/fpdns_server.go @@ -229,7 +229,7 @@ func query_handler(w dns.ResponseWriter, r *dns.Msg) { iter_cnt, err := strconv.Atoi(labels[0])
if err == nil {
if iter_cnt > fp.MaxNsDepth {
- fp.MaxNsDepth = iter_cnt
+ fp.MaxCnameDepth = iter_cnt
fmt.Printf("CnameChainTest (token = %v) status_update: %v\n", token, fp.MaxCnameDepth)
}
}
|
