]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r269180:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Aug 2014 06:54:07 +0000 (06:54 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Aug 2014 06:54:07 +0000 (06:54 +0000)
commitfb7d2e90fd167e27b3465ebcbfecae423e2bd085
treef5d1759185e720f92b146c8f15ded581894a0e45
parentac11d88d8bfe534cdbe131ee8f8f3f1b3636a6da
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/10@269800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ping6/ping6.c