File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ Resolve the value of a dnslink:
99
99
}
100
100
101
101
recursive , _ := req .Options [recursiveOptionName ].(bool )
102
- rc , rcok := req .Options [dhtRecordCountOptionName ].(int )
102
+ rc , rcok := req .Options [dhtRecordCountOptionName ].(uint )
103
103
dhtt , dhttok := req .Options [dhtTimeoutOptionName ].(string )
104
104
stream , _ := req .Options [streamOptionName ].(bool )
105
105
@@ -111,7 +111,7 @@ Resolve the value of a dnslink:
111
111
opts = append (opts , options .Name .ResolveOption (nsopts .Depth (1 )))
112
112
}
113
113
if rcok {
114
- opts = append (opts , options .Name .ResolveOption (nsopts .DhtRecordCount (uint ( rc ) )))
114
+ opts = append (opts , options .Name .ResolveOption (nsopts .DhtRecordCount (rc )))
115
115
}
116
116
if dhttok {
117
117
d , err := time .ParseDuration (dhtt )
You can’t perform that action at this time.
0 commit comments