]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r269180:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Aug 2014 07:01:29 +0000 (07:01 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Aug 2014 07:01:29 +0000 (07:01 +0000)
commitfcb28aa16ad9b7da4fbdda6aebb0dabf6340b662
treec26c2cce274c2c784627fbcbb05763d7fa8dc359
parent04f586d6af5a446135e01f8ae10d1b55a97f1973
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/8@269803 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ping6/ping6.c