Fix an infinite loop at an non-responding hop when other echo replies

are kept arriving in the waittime time window.

Submitted by:	Denny Page
PR:		210286
MFC after:	3 days
This commit is contained in:
Hiroki Sato 2016-11-05 18:00:36 +00:00
parent b1b6afa587
commit 161ab37d24
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308347

View File

@ -955,6 +955,9 @@ main(argc, argv)
break;
}
break;
} else if (deltaT(&t1, &t2) > waittime * 1000) {
cc = 0;
break;
}
}
if (cc == 0)