e2cca62cd5
make ping run into an endless loop (bnc #620837) OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=9
21 lines
432 B
Diff
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++;
|