File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -256,10 +256,8 @@ void declareStats(void)
256
256
S.declareRing (" remotes" ," Remote server IP addresses" );
257
257
S.declareRing (" remotes-unauth" ," Remote hosts querying domains for which we are not auth" );
258
258
S.declareRing (" remotes-corrupt" ," Remote hosts sending corrupt packets" );
259
-
260
259
}
261
260
262
-
263
261
int isGuarded (char **argv)
264
262
{
265
263
char *p=strstr (argv[0 ]," -instance" );
@@ -315,14 +313,15 @@ void *qthread(void *number)
315
313
}
316
314
317
315
for (;;) {
316
+ if (!(P=NS->receive (&question))) { // receive a packet inline
317
+ continue ; // packet was broken, try again
318
+ }
319
+
318
320
if (skipfirst)
319
321
skipfirst=false ;
320
322
else
321
323
numreceived++;
322
324
323
- if (!(P=NS->receive (&question))) { // receive a packet inline
324
- continue ; // packet was broken, try again
325
- }
326
325
327
326
if (P->d_remote .getSocklen ()==sizeof (sockaddr_in))
328
327
numreceived4++;
You can’t perform that action at this time.
0 commit comments