iputils/iputils-ss021109-ping-break.diff
2010-07-08 14:26:00 +00:00

21 lines
432 B
Diff

--- ping.c 2010-07-08 14:19:50.000000000 +0000
+++ ping.c 2010-07-08 14:20:43.000000000 +0000
@@ -1019,7 +1019,7 @@
i = j;
i -= IPOPT_MINOFF;
if (i <= 0)
- continue;
+ break;
if (i == old_rrlen
&& !bcmp((char *)cp, old_rr, i)
&& !(options & F_FLOOD)) {
@@ -1056,7 +1056,7 @@
i = j;
i -= 5;
if (i <= 0)
- continue;
+ break;
flags = *++cp;
printf("\nTS: ");
cp++;