]> git.ipfire.org Git - thirdparty/mtr.git/commit
core: introduce grace period 31/head
authorMichal Sekletar <sekletar.m@gmail.com>
Tue, 17 Sep 2013 14:11:20 +0000 (16:11 +0200)
committerMichal Sekletar <msekleta@redhat.com>
Tue, 17 Sep 2013 14:13:47 +0000 (16:13 +0200)
commit6ce1601b27fdd95b44ed65d7fd83604860276d63
tree92243ce327719fddafd7ddbf88704dec2d67a1f4
parent0512f4a2c46b88255176c734b093d652411decf6
core: introduce grace period

In report mode we break out from select loop immediately after we reach
maximum count of iterations. But we should wait for packets which are still on
the way.

In order to fix the issue we introduce grace period during which we don't send
out more packets but we just wait for responses which might be still on the way.

resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1009051
select.c