]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r269180:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Aug 2014 07:00:57 +0000 (07:00 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Aug 2014 07:00:57 +0000 (07:00 +0000)
commit2fb92017f596a7195dc469ae935bf56ce6666790
tree1594e7f5f5526d946d0df6187dd58dc46c2d543b
parent5d25644289a283adf334aca02d03933df9043a92
MFC r269180:

When interval is set to very small value with limited amount of packets,
ping6(8) would quit before the remote side gets a chance to respond.

Solve this by resetting the itimer when we have reached the maximum packet
number have reached, but let the other handling to continue.

PR:        bin/151023
Submitted by:    tjmao at tjmao.net

git-svn-id: svn://svn.freebsd.org/base/stable/9@269802 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ping6/ping6.c