diff options
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)
}
}
|
